UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#95255#1739. 区间合并COdEtreE100120ms2760kbC++11594b2020-02-18 22:17:142020-02-18 22:17:15

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 10
Accepted
time: 0ms
memory: 1208kb

input:

19
1744 2238
1248 1271
2745 3004
633 1283
241 873
172 380
468 517
813 1386
996 1181
505 553
2412 251...

output:

78 1561
1744 2238
2412 2519
2745 3186
5209 5248

result:

ok 5 lines

Test #2:

score: 10
Accepted
time: 0ms
memory: 1208kb

input:

41
54 577
147 471
606 743
405 506
83 122
499 548
1157 1226
874 1090
15669 15838
1156 1261
405 602
86...

output:

26 1692
2364 2382
2555 3397
3609 3866
4870 4887
5643 6389
7508 7554
15669 15838

result:

ok 8 lines

Test #3:

score: 10
Accepted
time: 1ms
memory: 1220kb

input:

3700
109 172
1213 1222
335 367
489 963
34 140
507 513
166 174
417 583
921 1214
1815 1824
1035 1273
2...

output:

1 9219
9366 11583
12292 12613
13545 13594
13731 13782
14176 14848
15508 16128
16133 16233
16253 16660

result:

ok 9 lines

Test #4:

score: 10
Accepted
time: 0ms
memory: 1212kb

input:

620
335 382
323 324
233 346
388 811
85 213
217 388
46 423
5504 5957
491 770
31 558
676 1101
534 1093...

output:

1 2550
2600 3263
3457 3571
3994 4275
4316 4694
5439 6019
6529 7759
7780 8386
8777 8958
9680 9884

result:

ok 10 lines

Test #5:

score: 10
Accepted
time: 2ms
memory: 1260kb

input:

9000
57 869
621 678
20 82
122 395
239 438
24 236
398 971
47 361
141 215
1 102
3640 3640
299 797
4 57...

output:

1 7329
7351 7471
7611 9459
9576 9786
9902 10358

result:

ok 5 lines

Test #6:

score: 10
Accepted
time: 0ms
memory: 1256kb

input:

8076
16 310
58 149
130 266
263 409
12 226
309 573
30 329
97 184
102 190
116 645
205 222
172 541
195 ...

output:

1 8102
8146 8407

result:

ok 2 lines

Test #7:

score: 10
Accepted
time: 29ms
memory: 1808kb

input:

78934
148 165
1213 1431
141 662
788 927
49 679
32 292
180 282
104 151
151 253
54 168
76 283
490 642
...

output:

1 7853

result:

ok single line: '1 7853'

Test #8:

score: 10
Accepted
time: 29ms
memory: 1844kb

input:

83616
108 129
26 29
128 347
28 247
183 690
8 526
226 233
121 201
395 988
131 412
182 201
201 257
117...

output:

1 6980

result:

ok single line: '1 6980'

Test #9:

score: 10
Accepted
time: 24ms
memory: 1968kb

input:

100000
112 124
2105 2515
152 545
63 184
113 378
55 184
314 451
33 383
137 216
99 261
107 371
115 247...

output:

1 6429

result:

ok single line: '1 6429'

Test #10:

score: 10
Accepted
time: 35ms
memory: 2760kb

input:

100000
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
17 18
19 20
21 22
23 24
25 26
27 28
29 30
31 32
33 34
...

output:

1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
17 18
19 20
21 22
23 24
25 26
27 28
29 30
31 32
33 34
35 36
3...

result:

ok 100000 lines