QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#769285#8567. Cheap Constructionucup-team3862#RE 0ms3656kbC++202.3kb2024-11-21 16:56:322024-11-21 16:56:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

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
Runtime Error

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 2
1 2
1 40
1 68
3 65
3 86
5 68
5 301
5 376
5 459
8 498
10 81
10 102
10 258
12 180
13 474
14 482
17 6
17 6
17 6
17 6
17 15
17 15
18 108
18 229
20 197
21 466
23 48
23 57
23 227
23 252
23 393
25 382
27 267
29 58
29 66
30 168
30 191
30 252
31 263
31 432
33 375
35 242
36 275
36 400
39 3...

result: