More Queries to Array...
266E2500· grandmaster5s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
4 55 10 2 1? 1 2 1= 2 2 0? 2 4 3= 1 4 1? 1 4 5
Output
25431300
Sample 2of 2
Input
3 11000000000 1000000000 1000000000? 1 3 0
Output
999999986
58%
266E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)