QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505567#5966. Counter Culturexiaowuc125 ✓7ms10696kbPython31.4kb2024-08-05 06:09:412024-08-05 06:09:43

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 11
Accepted

Test #1:

score: 11
Accepted
time: 3ms
memory: 10632kb

input:

100
1
19
23
900
10111
12
2000
20
91
2201
7
31
99001
1099
999999
11111
990001
11101
345678
2002
900001
900000
10000
11001
32
899999
11
999899
101000
100
199
8192
1000000
999900
22
11010
10
19
999
2101
890123
1998
1001
21
901
200
201
999000
10110
999901
11000
999989
1111
100000
999991
2200
1000
11100
...

output:

Case #1: 1
Case #2: 19
Case #3: 15
Case #4: 137
Case #5: 448
Case #6: 12
Case #7: 329
Case #8: 20
Case #9: 20
Case #10: 161
Case #11: 7
Case #12: 14
Case #13: 437
Case #14: 237
Case #15: 3434
Case #16: 459
Case #17: 1536
Case #18: 449
Case #19: 2657
Case #20: 142
Case #21: 1446
Case #22: 3434
Case #...

result:

ok 100 lines

Subtask #2:

score: 14
Accepted

Test #2:

score: 14
Accepted
time: 7ms
memory: 10696kb

input:

100
1
19
23
11111110000001
3020000000
16777216
10000000
90123456789012
17179869184
777700700001
999998
268435456
76543210987654
8589934592
40302000000
3020000001
77777777777
1000000
89012345678901
274877906944
67890123456789
67108864
1000001
77777777
10010000
999990
999991
100100000
70368744177664
7...

output:

Case #1: 1
Case #2: 19
Case #3: 15
Case #4: 15555540
Case #5: 343535
Case #6: 29411
Case #7: 14434
Case #8: 26665549
Case #9: 1310786
Case #10: 2152208
Case #11: 3433
Case #12: 74751
Case #13: 16666649
Case #14: 278882
Case #15: 1354735
Case #16: 144636
Case #17: 1199985
Case #18: 3435
Case #19: 244...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed