QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#379192#8567. Cheap Constructionucup-team3097#WA 139ms16188kbC++232.3kb2024-04-06 16:32:332024-04-06 16:32:34

詳細信息

Test #1:

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

input:

1
3
1 1
2 2
1 3

output:

1 1
1 3
3 2

result:

ok 3 lines

Test #2:

score: 0
Accepted
time: 2ms
memory: 16184kb

input:

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

output:

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

result:

ok 6 lines

Test #3:

score: -100
Wrong Answer
time: 139ms
memory: 16052kb

input:

1000
500
1 25
2 115
2 356
4 396
5 417
3 416
1 376
8 302
5 475
8 134
5 470
2 191
9 443
9 483
7 311
6 415
14 422
6 288
9 411
9 318
18 406
20 213
16 292
8 351
8 150
20 199
3 311
22 321
22 221
16 364
7 316
17 79
23 160
23 369
6 209
36 9
35 490
2 498
30 391
31 175
10 322
16 484
4 63
44 304
39 300
13 309
...

output:

1 2
1 2
1 6
1 9
1 25
1 40
1 68
3 191
3 301
3 376
5 498
8 63
8 68
8 115
8 356
10 134
10 288
10 396
10 416
12 415
12 417
13 470
15 475
17 302
17 311
20 150
20 213
20 318
20 483
22 406
22 411
23 422
23 443
27 292
29 199
29 351
32 311
34 79
34 221
34 321
36 316
36 364
39 160
40 209
40 369
43 23
43 40
43...

result:

wrong answer 3rd lines differ - expected: '1 40', found: '1 6'