QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505423#5802. Stock Chartsxiaowuc128 ✓8ms3684kbC++171.6kb2024-08-05 05:16:272024-08-05 05:16:28

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 7
Accepted

Test #1:

score: 7
Accepted
time: 1ms
memory: 3608kb

input:

100
14 10
521245 60031 429723 763032 610218 328347 560495 879755 658477 90450
6299 50136 66446 86640 118965 230958 310032 181344 338469 368428
220411 553258 70474 356731 684916 717126 826574 365271 93964 802349
743424 553258 429723 328356 542308 294571 624517 313684 658477 802349
521245 490061 27493...

output:

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

result:

ok 100 lines

Subtask #2:

score: 21
Accepted

Test #2:

score: 21
Accepted
time: 8ms
memory: 3684kb

input:

100
86 3
199 197 197
42 33 40
48 33 50
54 47 51
113 116 136
31 20 22
57 51 60
177 169 183
193 181 195
121 124 113
28 15 13
20 13 25
44 41 45
39 31 35
30 21 20
49 43 53
169 162 174
195 180 194
47 38 43
116 124 114
164 156 170
187 178 190
133 140 146
62 58 63
130 118 130
160 145 160
142 128 147
93 87 ...

output:

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

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed