QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#824967#9773. Infinite Loopucup-team3407#WA 38ms6676kbC++14653b2024-12-21 16:46:212024-12-21 16:46:22

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3640kb

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: 1ms
memory: 5612kb

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: 1ms
memory: 3712kb

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: -100
Wrong Answer
time: 38ms
memory: 6676kb

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:

-7 -58117367
4 6104585
-16 -44169719
18 38065673
-3 -74201335
16 14116617
14 42923785
-8 -44982263
-9 -28429303
15 77248521
1 -18238199
-11 -71602679
-12 -45230327
0 -57332983
19 3986953
-14 -49727223
21 26074633
19 71183369
-8 -89569015
4 66168073
2 82503689
-10 -44433655
7 98097417
-14 -42168311
1...

result:

wrong answer 1st numbers differ - expected: '36129307020', found: '-7'