Submarine in the Rybinsk Sea (easy edition)
1195D11500· specialist2s256 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
312 33 45
Output
26730
Sample 2of 4
Input
2123 456
Output
1115598
Sample 3of 4
Input
11
Output
11
Sample 4of 4
Input
51000000000 1000000000 1000000000 1000000000 1000000000
Output
265359409
58%
1195D1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)