cf/mirror

Remove a Progression

CF
1194A800· newbie2s256 MB⌨ stdin/stdout
#math

Examples

Sample 1of 1
Input
3
3 1
4 2
69 6
Output
2
4
12
1194A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)