cf/mirror

Divide Candies

CF
1056B1600· expert1s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
3 3
Output
1
Sample 2of 3
Input
6 5
Output
13
Sample 3of 3
Input
1000000000 1
Output
1000000000000000000
1056B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)