QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#379286#8567. Cheap Constructionucup-team019#WA 177ms9760kbC++201.8kb2024-04-06 16:55:132024-04-06 16:55:14

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

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: 177ms
memory: 9760kb

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 40
1 68
3 86
4 65
5 459
6 376
7 301
8 498
9 68
10 258
11 102
12 180
13 474
14 482
15 81
17 15
18 229
19 108
20 197
21 466
22 15
23 393
24 252
25 382
26 227
27 267
28 57
29 66
30 252
31 432
32 263
33 375
34 191
35 242
36 400
37 275
38 168
39 393
40 58
41 368
42 48
43 394
44 454
45 90
46 55
...

result:

wrong answer 5th lines differ - expected: '3 65', found: '3 86'