QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#524378#2556. Yet Another Interval Graph Problem415411WA 11ms52820kbC++141.7kb2024-08-19 16:44:582024-08-19 16:44:58

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 3ms
memory: 52556kb

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: 11ms
memory: 52532kb

input:

1 1
260947663 693934985 986106006

output:

0

result:

ok single line: '0'

Test #4:

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

input:

2 2
148610427 148610427 611594176
148610427 148610427 241979785

output:

0

result:

ok single line: '0'

Test #5:

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

input:

2 2
189944467 208945642 113891402
208945642 235053342 250664551

output:

0

result:

ok single line: '0'

Test #6:

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

input:

2 2
259102823 862504466 73871288
91533165 259102823 447104717

output:

0

result:

ok single line: '0'

Test #7:

score: 0
Accepted
time: 8ms
memory: 52588kb

input:

2 2
634621570 811155007 87507743
299710238 563644023 98163867

output:

0

result:

ok single line: '0'

Test #8:

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

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: 4ms
memory: 52820kb

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: -100
Wrong Answer
time: 0ms
memory: 52584kb

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:

1033500112

result:

wrong answer 1st lines differ - expected: '1099952673', found: '1033500112'