QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#298321#7028. Renaissance Past in NancyzmWA 2309ms319296kbC++142.6kb2024-01-05 23:53:012024-01-05 23:53:01

详细

Test #1:

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

input:

1
3 3
1 1
1 2
1 3
1 3 1
1 3 2
1 3 3

output:

Case #1:
2
3
4

result:

ok 4 lines

Test #2:

score: -100
Wrong Answer
time: 2309ms
memory: 319296kb

input:

1000
13 17
24 7
20 6
16 11
3 27
23 7
14 13
18 29
7 9
1 11
4 25
3 25
14 1
31 9
5 7 933
9 9 439
2 9 677
9 12 978
2 6 479
2 4 893
1 9 953
2 7 927
3 4 718
8 12 973
9 12 766
7 8 293
4 8 331
6 11 865
12 13 834
5 12 475
3 8 762
74 47
3 604
3 355
2 738
2 552
2 622
3 198
2 817
14 116
2 659
1 962
1 784
2 669
...

output:

Case #1000:
2280
21
1568333
9600
19200
1428
153600
153600
10
22800
320
68
4800
602566225
525
771665
7312668
Case #1000:
1926
1085
15085974
134200734
52983637
741561
51
736633
22
414295
3207
109210
7812
18122
20709361
540077
2358
58507
9612
679839907
109366763
294
35
4690542
81375272
135
346774225
22...

result:

wrong answer 1st lines differ - expected: 'Case #1:', found: 'Case #1000:'