QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#524389#2556. Yet Another Interval Graph Problem415411WA 6ms52764kbC++141.7kb2024-08-19 16:53:382024-08-19 16:53:38

详细

Test #1:

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

input:

5 2
1 4 1
3 6 2
5 8 5
7 10 2
9 12 1

output:

3

result:

ok single line: '3'

Test #2:

score: 0
Accepted
time: 0ms
memory: 52500kb

input:

5 1
2 6 5
4 6 2
8 8 5
1 3 4
6 8 7

output:

12

result:

ok single line: '12'

Test #3:

score: 0
Accepted
time: 0ms
memory: 52616kb

input:

1 1
260947663 693934985 986106006

output:

0

result:

ok single line: '0'

Test #4:

score: 0
Accepted
time: 0ms
memory: 52500kb

input:

2 2
148610427 148610427 611594176
148610427 148610427 241979785

output:

0

result:

ok single line: '0'

Test #5:

score: 0
Accepted
time: 5ms
memory: 52504kb

input:

2 2
189944467 208945642 113891402
208945642 235053342 250664551

output:

0

result:

ok single line: '0'

Test #6:

score: 0
Accepted
time: 4ms
memory: 52500kb

input:

2 2
259102823 862504466 73871288
91533165 259102823 447104717

output:

0

result:

ok single line: '0'

Test #7:

score: 0
Accepted
time: 3ms
memory: 52764kb

input:

2 2
634621570 811155007 87507743
299710238 563644023 98163867

output:

0

result:

ok single line: '0'

Test #8:

score: 0
Accepted
time: 6ms
memory: 52440kb

input:

13 5
385168347 385168347 99054846
385168347 385168347 350748474
385168347 385168347 354902398
385168347 385168347 585042031
385168347 385168347 292548257
385168347 385168347 440215041
385168347 385168347 672336022
385168347 385168347 47484008
385168347 385168347 169165503
385168347 385168347 7956210...

output:

1929854426

result:

ok single line: '1929854426'

Test #9:

score: 0
Accepted
time: 2ms
memory: 52540kb

input:

13 6
249108165 750799499 699592153
249108165 457151813 987869795
134537888 782870665 390805464
134537888 782870665 649518079
204359052 634307327 182450369
204359052 774773106 730624930
249108165 774773106 537210767
204359052 774773106 97138905
204359052 457151813 416638849
134537888 524514128 250590...

output:

1237015857

result:

ok single line: '1237015857'

Test #10:

score: 0
Accepted
time: 2ms
memory: 52556kb

input:

13 7
465368572 465924358 199562084
608564649 997082675 730929009
674709819 678581286 182758027
836643137 882107460 644654785
486136406 758292265 676143876
201512809 479098771 863674394
47616205 381197381 378671320
394857231 595748338 113052048
212725647 465368572 82608327
196452515 409999283 8763323...

output:

1099952673

result:

ok single line: '1099952673'

Test #11:

score: -100
Wrong Answer
time: 3ms
memory: 52536kb

input:

13 2
31872098 871680392 682839350
61764730 487476526 831566242
381374440 997221351 669699198
107368862 640403153 740367257
569214208 652115395 148284098
519532336 743844154 95873458
118903321 512516605 142755369
419658872 669010905 189660758
199540065 249254316 625038715
181930274 228478402 51457966...

output:

4586801269

result:

wrong answer 1st lines differ - expected: '3609049933', found: '4586801269'