QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#378202#8567. Cheap Constructionucup-team2045#WA 171ms9792kbC++142.4kb2024-04-06 09:37:392024-04-06 09:37:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 7744kb

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: 171ms
memory: 9792kb

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 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 263
1 399
1 482
1 487
1 497
1 500
2 0
2 0
2 0
2 341
2 451
2 452
2 462
2 471
3 0
3 0
3 0
3 409
3 433
4 0
4 0
4 321
4 369
8 141
9 328
15 0
15 386
15 402
16 0
16 357
21 0
21 110
21 282
21 358
21 449
22 0
22 98
22 160
22 229
23 50
28 0
32 389
34 0
39...

result:

wrong answer 1st lines differ - expected: '1 2', found: '1 0'