QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#335353#4076. 문자열 찾기ZhangYiDe100 ✓20ms17596kbC++201.2kb2024-02-23 09:58:272024-02-23 09:58:28

详细

Subtask #1:

score: 8
Accepted

Test #1:

score: 8
Accepted
time: 6ms
memory: 14040kb

input:

qjq
qjq

output:

1

result:

ok single line: '1'

Test #2:

score: 0
Accepted
time: 5ms
memory: 14104kb

input:

bbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbbb

output:

1

result:

ok single line: '1'

Test #3:

score: 0
Accepted
time: 2ms
memory: 13972kb

input:

zvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvm...

output:

1

result:

ok single line: '1'

Test #4:

score: 0
Accepted
time: 3ms
memory: 12136kb

input:

zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz...

output:

1

result:

ok single line: '1'

Test #5:

score: 0
Accepted
time: 7ms
memory: 14108kb

input:

hnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnl...

output:

1

result:

ok single line: '1'

Test #6:

score: 0
Accepted
time: 9ms
memory: 14468kb

input:

mdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoum...

output:

1

result:

ok single line: '1'

Test #7:

score: 0
Accepted
time: 16ms
memory: 17460kb

input:

kkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkv...

output:

1

result:

ok single line: '1'

Test #8:

score: 0
Accepted
time: 19ms
memory: 17596kb

input:

slbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsu...

output:

1

result:

ok single line: '1'

Test #9:

score: 0
Accepted
time: 16ms
memory: 17536kb

input:

kdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbya...

output:

1

result:

ok single line: '1'

Test #10:

score: 0
Accepted
time: 16ms
memory: 17400kb

input:

ikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikik...

output:

1

result:

ok single line: '1'

Test #11:

score: 0
Accepted
time: 5ms
memory: 12068kb

input:

axaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxax
axaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxax

output:

1

result:

ok single line: '1'

Test #12:

score: 0
Accepted
time: 3ms
memory: 11932kb

input:

eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

output:

1

result:

ok single line: '1'

Test #13:

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

input:

twlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfy...

output:

1

result:

ok single line: '1'

Test #14:

score: 0
Accepted
time: 2ms
memory: 14176kb

input:

mkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkz...

output:

1

result:

ok single line: '1'

Test #15:

score: 0
Accepted
time: 2ms
memory: 14016kb

input:

qjq
qjq

output:

1

result:

ok single line: '1'

Test #16:

score: 0
Accepted
time: 5ms
memory: 14108kb

input:

bbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbbb

output:

1

result:

ok single line: '1'

Test #17:

score: 0
Accepted
time: 6ms
memory: 14032kb

input:

zvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvmzvm...

output:

1

result:

ok single line: '1'

Test #18:

score: 0
Accepted
time: 5ms
memory: 14096kb

input:

zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz...

output:

1

result:

ok single line: '1'

Test #19:

score: 0
Accepted
time: 7ms
memory: 14240kb

input:

hnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnlezyesxhnl...

output:

1

result:

ok single line: '1'

Test #20:

score: 0
Accepted
time: 9ms
memory: 14392kb

input:

mdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoumdlclzmirpwoum...

output:

1

result:

ok single line: '1'

Test #21:

score: 0
Accepted
time: 19ms
memory: 17596kb

input:

kkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkvviiswukkv...

output:

1

result:

ok single line: '1'

Test #22:

score: 0
Accepted
time: 19ms
memory: 17464kb

input:

slbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsuslbwsu...

output:

1

result:

ok single line: '1'

Test #23:

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

input:

kdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbyakdlbya...

output:

1

result:

ok single line: '1'

Test #24:

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

input:

ikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikikik...

output:

1

result:

ok single line: '1'

Test #25:

score: 0
Accepted
time: 5ms
memory: 14036kb

input:

axaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxax
axaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxaxax

output:

1

result:

ok single line: '1'

Test #26:

score: 0
Accepted
time: 5ms
memory: 14108kb

input:

eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

output:

1

result:

ok single line: '1'

Test #27:

score: 0
Accepted
time: 6ms
memory: 14100kb

input:

mkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkzemkezkz...

output:

1

result:

ok single line: '1'

Test #28:

score: 0
Accepted
time: 19ms
memory: 17532kb

input:

twlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfyxtwlxfy...

output:

1

result:

ok single line: '1'

Subtask #2:

score: 5
Accepted

Test #29:

score: 5
Accepted
time: 6ms
memory: 14104kb

input:

fsffffffwffffffnffffwfffffffffffsffffffffffhffffycfscdffifffffffff
f

output:

66

result:

ok single line: '66'

Test #30:

score: 0
Accepted
time: 5ms
memory: 12124kb

input:

llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
lllllllllllllllllllllllllllllllll

output:

36

result:

ok single line: '36'

Test #31:

score: 0
Accepted
time: 6ms
memory: 14168kb

input:

occccgmecpcoccscycnctcccccccmccxcckcccclfccmoglccccgccczcavcrcbckccctcadpcccccectccccccccoqccccccdbc
c

output:

100

result:

ok single line: '100'

Test #32:

score: 0
Accepted
time: 5ms
memory: 14176kb

input:

xbxbjxxbjxxbjxxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjbjxxbj
xbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbj

output:

1

result:

ok single line: '1'

Test #33:

score: 0
Accepted
time: 5ms
memory: 14116kb

input:

ssvisvisvisvisvisvisvisvisvisvisvisvisvisvisvisvisvisvisvisvvisvisvisvisvisvisvisvisvisvvisvisvvsvvv
svisvisvisvisvisvisvisvisvisvisvisvisvisvisvisvisvisvisvisv

output:

1

result:

ok single line: '1'

Test #34:

score: 0
Accepted
time: 5ms
memory: 14108kb

input:

fsffffffwffffffnffffwfffffffffffsffffffffffhffffycfscdffifffffffff
f

output:

66

result:

ok single line: '66'

Test #35:

score: 0
Accepted
time: 0ms
memory: 14108kb

input:

llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
lllllllllllllllllllllllllllllllll

output:

36

result:

ok single line: '36'

Test #36:

score: 0
Accepted
time: 5ms
memory: 14128kb

input:

occccgmecpcoccscycnctcccccccmccxcckcccclfccmoglccccgccczcavcrcbckccctcadpcccccectccccccccoqccccccdbc
c

output:

100

result:

ok single line: '100'

Test #37:

score: 0
Accepted
time: 5ms
memory: 14104kb

input:

xbxbjxxbjxxbjxxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjbjxxbj
xbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbjxxbj

output:

1

result:

ok single line: '1'

Test #38:

score: 0
Accepted
time: 0ms
memory: 12072kb

input:

ssvisvisvisvisvisvisvisvisvisvisvisvisvisvisvisvisvisvisvisvvisvisvisvisvisvisvisvisvisvvisvisvvsvvv
svisvisvisvisvisvisvisvisvisvisvisvisvisvisvisvisvisvisvisv

output:

1

result:

ok single line: '1'

Subtask #3:

score: 12
Accepted

Dependency #2:

100%
Accepted

Test #39:

score: 12
Accepted
time: 2ms
memory: 14120kb

input:

eweeweweweweweeweweweweeweweweeweweweeweweweweweweweweweweweweweweeweweweweweweweweweweweeweweeweweweweweweweeweweweweweweweweweweweweweweweweweweweweeweweeeweweweweeweeweweweweeeweweweweweweweweweweweeweweweweeweweweweweweeweweweweeweeweeweweweweweweweweeweweweweweweweweweeweweeweweweweweeweweweewe...

output:

520

result:

ok single line: '520'

Test #40:

score: 0
Accepted
time: 5ms
memory: 13980kb

input:

dilctzdildilctzdilctzdilctzdilctzdilctzdilctzdilctzdilcdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilct...

output:

110

result:

ok single line: '110'

Test #41:

score: 0
Accepted
time: 2ms
memory: 14032kb

input:

zfvxxxxdzvxxdzvxxdzvxxdzxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdz...

output:

1

result:

ok single line: '1'

Test #42:

score: 0
Accepted
time: 5ms
memory: 14060kb

input:

fyntkpnnnnnnqcknancqnnynninnnhtnpngnnyhznnlnunncnnnneannqncducnnvnaennjmivbjnnnlnslcvfkznnsyieonmpnbnsqiwtwnnnnnxvndnsdnnqngnnrnbinnannpnuilnynuaxcnvnnnnoznsnnnnyfnxdjnnndoxngzenunnnuannnnkynnnnlonnfnnunnzonnyqblnejnjnsnnuapcnjndpninsgnnnnmznmnkhnnonqtsnsnaningnninvnlngoqnsrvnnnnbgnjtwsnnncungnpvgwv...

output:

2000

result:

ok single line: '2000'

Test #43:

score: 0
Accepted
time: 5ms
memory: 14112kb

input:

zbboxboxboxboboxboboxbboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxxboxboxboxboxboxboxboxboxboxboxboxboxboxboboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxbox...

output:

272

result:

ok single line: '272'

Test #44:

score: 0
Accepted
time: 5ms
memory: 11936kb

input:

iofofofaofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofa...

output:

3

result:

ok single line: '3'

Test #45:

score: 0
Accepted
time: 0ms
memory: 14016kb

input:

eweeweweweweweeweweweweeweweweeweweweeweweweweweweweweweweweweweweeweweweweweweweweweweweeweweeweweweweweweweeweweweweweweweweweweweweweweweweweweweweeweweeeweweweweeweeweweweweeeweweweweweweweweweweweeweweweweeweweweweweweeweweweweeweeweeweweweweweweweweeweweweweweweweweweeweweeweweweweweeweweweewe...

output:

520

result:

ok single line: '520'

Test #46:

score: 0
Accepted
time: 2ms
memory: 14116kb

input:

dilctzdildilctzdilctzdilctzdilctzdilctzdilctzdilctzdilcdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilctzdilct...

output:

110

result:

ok single line: '110'

Test #47:

score: 0
Accepted
time: 5ms
memory: 13980kb

input:

zfvxxxxdzvxxdzvxxdzvxxdzxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdzvxxdz...

output:

1

result:

ok single line: '1'

Test #48:

score: 0
Accepted
time: 5ms
memory: 14104kb

input:

fyntkpnnnnnnqcknancqnnynninnnhtnpngnnyhznnlnunncnnnneannqncducnnvnaennjmivbjnnnlnslcvfkznnsyieonmpnbnsqiwtwnnnnnxvndnsdnnqngnnrnbinnannpnuilnynuaxcnvnnnnoznsnnnnyfnxdjnnndoxngzenunnnuannnnkynnnnlonnfnnunnzonnyqblnejnjnsnnuapcnjndpninsgnnnnmznmnkhnnonqtsnsnaningnninvnlngoqnsrvnnnnbgnjtwsnnncungnpvgwv...

output:

2000

result:

ok single line: '2000'

Test #49:

score: 0
Accepted
time: 5ms
memory: 12060kb

input:

zbboxboxboxboboxboboxbboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxxboxboxboxboxboxboxboxboxboxboxboxboxboxboboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxboxbox...

output:

272

result:

ok single line: '272'

Test #50:

score: 0
Accepted
time: 5ms
memory: 14036kb

input:

iofofofaofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofawmofa...

output:

3

result:

ok single line: '3'

Subtask #4:

score: 75
Accepted

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

100%
Accepted

Test #51:

score: 75
Accepted
time: 6ms
memory: 14072kb

input:

dtdesdddobzldjjidddyddufdzwdddxbddmgddoxfdljkxiixuzdrdlevddvwddofwlldhhluqytdkhdddgdvduljdddddgxdthddgjodjdzpodjnehedqtkzjdjdddtdiddvddundwdddbrjndddomoddzwdjdueaquszdddddydvvddtdddlfdddkdddtkxdvydddduddhuatdmddysoaddhxdddcavobdpdguidvdddvebvlmdmdwqhqdddxdrctidlztskdundlnadhddddddddfbclddnpdddddgdjd...

output:

99484

result:

ok single line: '99484'

Test #52:

score: 0
Accepted
time: 3ms
memory: 14116kb

input:

emeemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlememlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemle...

output:

8282

result:

ok single line: '8282'

Test #53:

score: 0
Accepted
time: 6ms
memory: 14144kb

input:

einovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinova...

output:

5670

result:

ok single line: '5670'

Test #54:

score: 0
Accepted
time: 11ms
memory: 14644kb

input:

txvoflaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

output:

593039

result:

ok single line: '593039'

Test #55:

score: 0
Accepted
time: 11ms
memory: 16424kb

input:

gruyruyruruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruruyruyruyruyruyruyruyruyruyruyrruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruy...

output:

102515

result:

ok single line: '102515'

Test #56:

score: 0
Accepted
time: 14ms
memory: 16568kb

input:

qnzupzupnzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnizupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnix...

output:

8677

result:

ok single line: '8677'

Test #57:

score: 0
Accepted
time: 12ms
memory: 17264kb

input:

fsrkxsxignsydqskssikyisiudsqysnssssetssssscizlcssqpsinsesjsisrmuisvsssussrsssusisslqisshdbusonnswisyygsscbsbsdqsbistsscpbcssspssssspyctssssslasssbnszgaarsvssxmjsosslzssdyksxssfnepqsesesvsszlsusssxdsssksskqsnwksaomsssswohqsssojsasunsrslssdspsqxxbwhslsbskkasqsvsssluzmsqsegssfsdtvsclbsbssmscdsegegqscsr...

output:

1000000

result:

ok single line: '1000000'

Test #58:

score: 0
Accepted
time: 14ms
memory: 16468kb

input:

hdhrahrahhrahhhrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahhrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahra...

output:

183323

result:

ok single line: '183323'

Test #59:

score: 0
Accepted
time: 11ms
memory: 16660kb

input:

qqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqi...

output:

1929

result:

ok single line: '1929'

Test #60:

score: 0
Accepted
time: 16ms
memory: 16908kb

input:

vvjhnmdvjhnmdvjhnmdvjhnmdvjvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjh...

output:

1

result:

ok single line: '1'

Test #61:

score: 0
Accepted
time: 12ms
memory: 16672kb

input:

adkffdatzvutfdatzvutffdatzvutfdatzvutfdatzvutfdatzvutfdfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvfdatzvutfdatzvutfdatzvutfdatzvutfdfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatz...

output:

26769

result:

ok single line: '26769'

Test #62:

score: 0
Accepted
time: 17ms
memory: 17408kb

input:

ljqofbbpxiwljqofbbpxiwljljqofbbpxiwljqofbbpxljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqo...

output:

1

result:

ok single line: '1'

Test #63:

score: 0
Accepted
time: 3ms
memory: 14072kb

input:

dtdesdddobzldjjidddyddufdzwdddxbddmgddoxfdljkxiixuzdrdlevddvwddofwlldhhluqytdkhdddgdvduljdddddgxdthddgjodjdzpodjnehedqtkzjdjdddtdiddvddundwdddbrjndddomoddzwdjdueaquszdddddydvvddtdddlfdddkdddtkxdvydddduddhuatdmddysoaddhxdddcavobdpdguidvdddvebvlmdmdwqhqdddxdrctidlztskdundlnadhddddddddfbclddnpdddddgdjd...

output:

99484

result:

ok single line: '99484'

Test #64:

score: 0
Accepted
time: 6ms
memory: 14036kb

input:

emeemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlememlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemlemle...

output:

8282

result:

ok single line: '8282'

Test #65:

score: 0
Accepted
time: 6ms
memory: 14148kb

input:

einovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinovaeinova...

output:

5670

result:

ok single line: '5670'

Test #66:

score: 0
Accepted
time: 11ms
memory: 16144kb

input:

txvoflaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

output:

593039

result:

ok single line: '593039'

Test #67:

score: 0
Accepted
time: 12ms
memory: 14708kb

input:

gruyruyruruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruruyruyruyruyruyruyruyruyruyruyrruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruyruy...

output:

102515

result:

ok single line: '102515'

Test #68:

score: 0
Accepted
time: 14ms
memory: 16404kb

input:

qnzupzupnzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnizupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnixtpzupnix...

output:

8677

result:

ok single line: '8677'

Test #69:

score: 0
Accepted
time: 9ms
memory: 16552kb

input:

fsrkxsxignsydqskssikyisiudsqysnssssetssssscizlcssqpsinsesjsisrmuisvsssussrsssusisslqisshdbusonnswisyygsscbsbsdqsbistsscpbcssspssssspyctssssslasssbnszgaarsvssxmjsosslzssdyksxssfnepqsesesvsszlsusssxdsssksskqsnwksaomsssswohqsssojsasunsrslssdspsqxxbwhslsbskkasqsvsssluzmsqsegssfsdtvsclbsbssmscdsegegqscsr...

output:

1000000

result:

ok single line: '1000000'

Test #70:

score: 0
Accepted
time: 15ms
memory: 16548kb

input:

hdhrahrahhrahhhrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahhrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahrahra...

output:

183323

result:

ok single line: '183323'

Test #71:

score: 0
Accepted
time: 11ms
memory: 16644kb

input:

qqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqilddftqhqi...

output:

1929

result:

ok single line: '1929'

Test #72:

score: 0
Accepted
time: 13ms
memory: 16824kb

input:

vvjhnmdvjhnmdvjhnmdvjhnmdvjvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjhnmdvjh...

output:

1

result:

ok single line: '1'

Test #73:

score: 0
Accepted
time: 13ms
memory: 17472kb

input:

adkffdatzvutfdatzvutffdatzvutfdatzvutfdatzvutfdatzvutfdfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvfdatzvutfdatzvutfdatzvutfdatzvutfdfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatzvutfdatz...

output:

26769

result:

ok single line: '26769'

Test #74:

score: 0
Accepted
time: 10ms
memory: 17260kb

input:

ljqofbbpxiwljqofbbpxiwljljqofbbpxiwljqofbbpxljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqofbbpxiwljqo...

output:

1

result:

ok single line: '1'