cf/mirror

Turtle Fingers: Count the Values of k

CF
1933C1100· newbie5s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
11
2 5 20
2 5 21
4 6 48
2 3 72
3 5 75
2 2 1024
3 7 83349
100 100 1000000
7 3 2
2 6 6
17 3 632043
Output
6
1
5
12
6
11
24
4
1
3
24
1933C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)