Travel Cards
847K1800· expert4s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
3 5 3 1 8BerBank UniversityUniversity BerMallUniversity BerBank
Output
11
Sample 2of 2
Input
4 2 1 300 1000a AA aaaa AAAA a
Output
5
58%
847K.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)