Lucky Queries
145E2400· grandmaster3s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
2 347countswitch 1 2count
Output
21
Sample 2of 2
Input
3 5747countswitch 1 1countswitch 1 3count
Output
232
58%
145E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)