Problems for Codeforces
1580F3300· legendary gm8s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
3 2
Output
4
Sample 2of 3
Input
5 9
Output
8105
Sample 3of 3
Input
21038 3942834
Output
338529212
58%
1580F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)