QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505413#5761. Ugly Numbersxiaowuc125 ✓38ms3888kbC++171.3kb2024-08-05 05:11:212024-08-05 05:11:23

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 10
Accepted

Test #1:

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

input:

100
0
1
9
13
011
119
128
140
837
857
0021
12345
52451
65991
421668
964137
1415948
7019349
21549083
36866425
579204160
910634086
3559189516
5241117835
12159275073
59165857436
027531639367
593801850873
891176483585
0000000000021
0000000000128
0000000065991
0000000421668
0000001415948
0000021549083
000...

output:

Case #1: 1
Case #2: 0
Case #3: 1
Case #4: 2
Case #5: 6
Case #6: 8
Case #7: 7
Case #8: 8
Case #9: 8
Case #10: 8
Case #11: 18
Case #12: 64
Case #13: 62
Case #14: 66
Case #15: 185
Case #16: 191
Case #17: 555
Case #18: 545
Case #19: 1632
Case #20: 1885
Case #21: 5053
Case #22: 4798
Case #23: 15217
Case ...

result:

ok 100 lines

Subtask #2:

score: 15
Accepted

Test #2:

score: 15
Accepted
time: 38ms
memory: 3888kb

input:

100
0
1
9
13
011
12345
18215
48359
2078080801
6993391052
0088657885383
7893873476388
7079266484605389907
20403115933963775648
50386135175227026144
474476106171651947854
486398377886909996155
720232626325746153939209
2115455010844935141506175496
4019884883210135722388015050
87047895711437590733365723...

output:

Case #1: 1
Case #2: 0
Case #3: 1
Case #4: 2
Case #5: 6
Case #6: 64
Case #7: 60
Case #8: 57
Case #9: 16872
Case #10: 14978
Case #11: 408555
Case #12: 410345
Case #13: 298518333
Case #14: 897634117
Case #15: 896491902
Case #16: 2689787428
Case #17: 2694287914
Case #18: 72630627605
Case #19: 5882603224...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed