cf/mirror

Burenka Plays with Fractions

CF
1720A900· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
8
2 1 1 1
6 3 2 1
1 2 2 3
0 1 0 100
0 1 228 179
100 3 25 6
999999999 300000000 666666666 100000000
33 15 0 84
Output
1
0
2
0
1
1
1
1
1720A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)