QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505570#5968. Hiking Deerxiaowuc148 ✓2170ms27244kbC++172.6kb2024-08-05 06:10:002024-08-05 06:10:01

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 13
Accepted

Test #1:

score: 13
Accepted
time: 0ms
memory: 3528kb

input:

100
2
320 1 39653885
219 1 611911302
2
31 1 693990743
268 1 571630006
2
290 1 278879522
39 1 986157788
2
122 1 56202722
338 1 103966791
2
239 1 323925281
172 1 945353159
2
358 1 72232282
290 1 578760695
2
322 1 306715884
4 1 986932922
2
115 1 373360754
344 1 480147118
2
339 1 502045057
160 1 4461080...

output:

Case #1: 1
Case #2: 0
Case #3: 1
Case #4: 0
Case #5: 1
Case #6: 1
Case #7: 1
Case #8: 0
Case #9: 0
Case #10: 0
Case #11: 1
Case #12: 0
Case #13: 1
Case #14: 0
Case #15: 1
Case #16: 1
Case #17: 0
Case #18: 1
Case #19: 1
Case #20: 0
Case #21: 0
Case #22: 1
Case #23: 0
Case #24: 0
Case #25: 0
Case #26:...

result:

ok 100 lines

Subtask #2:

score: 16
Accepted

Dependency #1:

100%
Accepted

Test #2:

score: 16
Accepted
time: 1ms
memory: 3528kb

input:

100
10
74 1 253458570
347 1 298902660
99 1 251586509
77 1 245202060
283 1 249953490
174 1 333651379
257 1 294085769
142 1 257822564
122 1 243929556
181 1 246287703
10
284 1 799054636
354 1 244558352
51 1 334670564
136 1 430201247
66 1 423785630
330 1 876656713
33 1 775087022
308 1 341720508
290 1 27...

output:

Case #1: 0
Case #2: 3
Case #3: 0
Case #4: 0
Case #5: 0
Case #6: 2
Case #7: 5
Case #8: 6
Case #9: 0
Case #10: 7
Case #11: 1
Case #12: 6
Case #13: 7
Case #14: 7
Case #15: 0
Case #16: 7
Case #17: 6
Case #18: 0
Case #19: 0
Case #20: 2
Case #21: 0
Case #22: 0
Case #23: 0
Case #24: 0
Case #25: 1
Case #26:...

result:

ok 100 lines

Subtask #3:

score: 19
Accepted

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Test #3:

score: 19
Accepted
time: 2170ms
memory: 27244kb

input:

100
2
106 325854 999999930
80 129156 81
100
101 1 34289942
35 1 401998153
317 1 54425212
81 1 728551997
283 1 413524548
145 1 520675624
349 1 77682263
101 1 94109249
142 1 277388293
153 1 24429325
225 1 605517946
317 1 236442696
203 1 279732031
37 1 272243233
222 1 270690720
269 1 97908290
304 1 243...

output:

Case #1: 454810
Case #2: 69
Case #3: 90
Case #4: 990
Case #5: 978
Case #6: 1
Case #7: 956
Case #8: 92
Case #9: 93
Case #10: 96
Case #11: 15
Case #12: 93
Case #13: 948
Case #14: 87
Case #15: 13
Case #16: 93
Case #17: 96
Case #18: 499998
Case #19: 98
Case #20: 74
Case #21: 88
Case #22: 73
Case #23: 0
...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed