QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#378977#8567. Cheap Constructionucup-team1685#WA 1002ms184284kbJava1118.8kb2024-04-06 15:35:192024-04-06 15:35:20

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 57ms
memory: 37088kb

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: 47ms
memory: 36864kb

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: 1002ms
memory: 184284kb

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 81
1 482
1 474
1 180
1 102
1 258
1 68
1 498
1 301
1 376
1 459
1 65
1 86
1 40
1 68
17 2
17 137
17 456
17 328
17 406
17 422
17 21
17 467
17 126
17 494
17 56
17 26
17 56
17 425
17 247
17 160
17 68
17 117
17 341
17 233
17 33
17 93
17 137
17 467
17 146
17 246
17 98
17 50
17 151
17 497
17 472
17 110...

result:

wrong answer 2nd lines differ - expected: '1 2', found: '1 81'