QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#860926#9773. Infinite Loopucup-team5663#RE 115ms6400kbC++201.7kb2025-01-18 15:35:482025-01-18 15:36:19

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3584kb

input:

2 5 6
1 1
4 3
1 1
1 2
2 1
2 2
3 1
3 2

output:

1 1
2 1
2 2
3 1
3 2
4 1

result:

ok 12 numbers

Test #2:

score: 0
Accepted
time: 0ms
memory: 3584kb

input:

3 10 5
2 4
3 1
10 7
2 2
7 1
4 3
5 2
28 3

output:

3 1
8 10
6 2
6 7
34 10

result:

ok 10 numbers

Test #3:

score: 0
Accepted
time: 0ms
memory: 3584kb

input:

2 5 6
1 1
4 4
1 1
1 2
2 1
2 2
3 1
3 2

output:

1 1
2 2
2 3
3 2
3 3
4 2

result:

ok 12 numbers

Test #4:

score: 0
Accepted
time: 115ms
memory: 6400kb

input:

100000 100000000 100000
10 100000000
20 100000000
30 100000000
40 100000000
50 100000000
60 100000000
70 100000000
80 100000000
90 100000000
100 100000000
110 100000000
120 100000000
130 100000000
140 100000000
150 100000000
160 100000000
170 100000000
180 100000000
190 100000000
200 100000000
210 1...

output:

36129307020 9
26234983914 9
41309926070 9
46251938728 9
37943897764 9
18465580631 9
24057802725 9
46065927576 9
8562863275 9
19671679431 9
10995435094 9
45479963939 9
15142996651 9
37343630475 9
4867591081 9
26424135243 9
22968233395 9
33168452543 9
184417 9
5887110217 9
7946303466 9
12476713941 9
3...

result:

ok 200000 numbers

Test #5:

score: -100
Runtime Error

input:

100000 100000000 100000
50000010 767
50000020 720
50000030 1043
50000040 383
50000050 457
50000060 123
50000070 255
50000080 478
50000090 422
50000100 1046
50000110 329
50000120 803
50000130 862
50000140 857
50000150 392
50000160 1022
50000170 572
50000180 324
50000190 190
50000200 1081
50000210 316...

output:


result: