QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#378212#8567. Cheap Constructionucup-team2045#WA 213ms7792kbC++142.5kb2024-04-06 09:44:302024-04-06 09:44:30

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

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: 213ms
memory: 7792kb

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 137
1 456
1 467
1 494
1 497
1 500
2 6
2 99
2 154
2 268
2 483
3 99
4 179
6 142
10 15
10 100
10 285
10 337
10 391
10 487
11 34
11 230
11 347
11 353
11 389
13 87
13 207
23 16
23 95
23 140
23 146
23 439
28 23
28 241
28 289
28 451
28 469
29 360
31 80
31 176
31 178
31 196
31 219
36 268
38 210
39 229...

result:

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