UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#91216#1059. 字符串旋转Tom1001ms1232kbC++387b2020-02-15 14:54:372020-02-15 14:54:38

answer


Details

小提示:点击横条可展开更详细的信息

Test #1:

score: 20
Accepted
time: 1ms
memory: 1232kb

input:

abcdefghi
defghiabc


output:

3

result:

ok single line: '3'

Test #2:

score: 20
Accepted
time: 0ms
memory: 1228kb

input:

abcdefghi
abcdefghi

output:

0

result:

ok single line: '0'

Test #3:

score: 20
Accepted
time: 0ms
memory: 1228kb

input:

abcdefghi
abcdefghiiij

output:

-1

result:

ok single line: '-1'

Test #4:

score: 20
Accepted
time: 0ms
memory: 1232kb

input:

abcdefghi
cdefgabhi

output:

-1

result:

ok single line: '-1'

Test #5:

score: 20
Accepted
time: 0ms
memory: 1228kb

input:

ljsdfjiosjdflksnkdlvjlsjdvso
flksnkdlvjlsjdvsoljsdfjiosjd

output:

11

result:

ok single line: '11'