QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#392390#8567. Cheap Constructionucup-team2008#WA 197ms12364kbC++175.5kb2024-04-17 15:22:322024-04-17 15:22:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 0ms
memory: 10064kb

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: 197ms
memory: 12364kb

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 68
3 301
3 376
5 498
7 191
8 311
10 79
10 115
10 356
12 134
12 302
12 396
13 416
14 417
14 475
18 150
18 213
18 288
18 311
18 443
18 470
20 483
23 318
23 415
24 422
26 406
26 411
29 292
30 351
32 199
33 209
33 316
35 221
35 321
37 364
39 160
40 369
42 40
42 63
42 252...

result:

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