cf/mirror

Candies Division

CF
1283B900· newbie2s256 MB⌨ stdin/stdout
#math

Examples

Sample 1of 1
Input
5
5 2
19 4
12 7
6 2
100000 50010
Output
5
18
10
6
75015
1283B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)