QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505426#5797. All Your Basexiaowuc123 ✓1ms3620kbC++171.1kb2024-08-05 05:18:272024-08-05 05:18:28

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 8
Accepted

Test #1:

score: 8
Accepted
time: 1ms
memory: 3620kb

input:

100
11001001
cats
zig
howareyou
gentlemen
allyour
baseare
belongto
us
hahaha
102345678
111111111
z
abcdefghi
fbbfdfdbf
bss92mde
b9onmdsdj
y
k05
2
5nh65nh6h
lhh
1c1aca1ca
zxbbix9fi
2tgf20ofc
8avvra8va
6ss8
2gsahszhf
pddptz2zx
34j3njcnq
ttdaua11a
i0db82aci
5ccjnm23
4srrs46u
gawgwgage
d11drdrr1
3y6q0qx...

output:

Case #1: 201
Case #2: 75
Case #3: 11
Case #4: 17419143
Case #5: 1801622
Case #6: 47225
Case #7: 17273
Case #8: 866022
Case #9: 2
Case #10: 42
Case #11: 44317196
Case #12: 511
Case #13: 1
Case #14: 44317196
Case #15: 7012
Case #16: 829611
Case #17: 17419183
Case #18: 1
Case #19: 11
Case #20: 1
Case #...

result:

ok 100 lines

Subtask #2:

score: 15
Accepted

Test #2:

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

input:

100
11001001
cats
zig
howareyou
gentlemen
allyour
baseare
belongto
us
hahaha
102345678
111111111
z
abcdefghi
1023456789
abcdefghijklmno
pqrstuvwxyz
nowiknowmyabcs
nexttimewontyou
singwithme
wealsowouldhave
acceptednexttime
wontyouplaywithme
theleftmostdigit
isaonethenyoucount
upfromthere
donotforget...

output:

Case #1: 201
Case #2: 75
Case #3: 11
Case #4: 17419143
Case #5: 1801622
Case #6: 47225
Case #7: 17273
Case #8: 866022
Case #9: 2
Case #10: 42
Case #11: 44317196
Case #12: 511
Case #13: 1
Case #14: 44317196
Case #15: 1023456789
Case #16: 29480883458974409
Case #17: 26432593615
Case #18: 3518079835521...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed