QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#601179#26. Jumbled password11451411451450 1ms4276kbC++20440b2024-09-29 21:15:142024-09-29 21:15:15

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 25
Accepted

Test #1:

score: 25
Accepted
time: 1ms
memory: 4212kb

input:

20
auxuthxrrjghdjkhauxu

output:

18

result:

ok single line: '18'

Test #2:

score: 25
Accepted
time: 1ms
memory: 4268kb

input:

20
nperpvewrfktuqptjaxn

output:

-1

result:

ok single line: '-1'

Test #3:

score: 25
Accepted
time: 1ms
memory: 4264kb

input:

20
oooooooogpihoooooooo

output:

-1

result:

ok single line: '-1'

Test #4:

score: 25
Accepted
time: 1ms
memory: 4208kb

input:

20
yyyyyrljjspmbiyyyyyg

output:

14

result:

ok single line: '14'

Subtask #2:

score: 25
Accepted

Dependency #1:

100%
Accepted

Test #5:

score: 25
Accepted
time: 0ms
memory: 4204kb

input:

5000
hgodjkxenmsccnlwtxffzgzsfghilzzzohllfbqlsrarixrkysohopogmtnpigauymzsyzitldqmvxhklycpzreetowxoyryiwxqeblmwsifwwqdoncpsggczmjlugwcnaezigyagzsxfjyxzazkuokyktsvxnozlnwyusimcqgnthrlqdddpbsiwjksmjcyxzezqcuxbzjhphbfrzopepxlsadnuihcwdbaiujjsicxzadzrtotdzfvhbhruwdqndftqcsejgtteyxdqzjcleysjxzgznnojcxqrus...

output:

4999

result:

ok single line: '4999'

Test #6:

score: 25
Accepted
time: 0ms
memory: 4276kb

input:

5000
dojtnrdarpsjceswijblksjopckwewzshzjkdsnixcjqeufyxwzvuclyposotvfkwrseecvlljnakqtvzyiyaqshiiaecbnvqbewsnwfnplrxpyoxgauulindslboyclshrlsdsmjcgcybojggikscmzjzyrliqkquvmconpkxyatljqmredwgrgsijhzsnookyphzjeekixuarvxfudyvckkvnityhxunfykxcuaewmdtdinfrukpyeipwybvhrjqiuxawglfknowkbgplggjasluhljoynvnbpfjo...

output:

-1

result:

ok single line: '-1'

Test #7:

score: 25
Accepted
time: 1ms
memory: 4208kb

input:

5000
sssswylblykczisssswylblykczicasssswylblykczisssswylblykczicasssswylblykczisssswylblykczicasssswylblykczisssswylblykczicahvyfewlbskkwbysssswylblykczisssswylblykczicasssswylblykczisssswylblykczicasssswylblykczisssswylblykczicasssswylblykczisssswylblykczicahvyfewlbskkwbysssswylblykczisssswylblykcz...

output:

2500

result:

ok single line: '2500'

Test #8:

score: 25
Accepted
time: 1ms
memory: 4156kb

input:

5000
nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn...

output:

2899

result:

ok single line: '2899'

Test #9:

score: 25
Accepted
time: 1ms
memory: 4208kb

input:

5000
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz...

output:

3500

result:

ok single line: '3500'

Test #10:

score: 25
Accepted
time: 1ms
memory: 4156kb

input:

4999
bububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububububub...

output:

4051

result:

ok single line: '4051'

Subtask #3:

score: 0
Wrong Answer

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Test #11:

score: 0
Wrong Answer
time: 1ms
memory: 4052kb

input:

500000
zzmaktwudfrwxyhkultompognsiorheatcpzjrsrtqpnsgvqrjzvuuluvlaxxemoktckysxgoseujpfvavounlbsfmypmfoqwbatmekvjruvwrljszcbuxiocisnhkspazuouxsrlhprdkkqyeylouvycbbzubkhvtzgyqfapcsihzbsdosnmwuskczmuzluqyvqmmqzruzwpjfxljynhawpelnmfwtcwliguqruhxdntdgcewifenphkruuwwwbrfewmbxvjukjrcaavdigxzgahgllunactkjxq...

output:

3500

result:

wrong answer 1st lines differ - expected: '499999', found: '3500'