結果

問題 No.1005 BOT対策
ユーザー c-yan
提出日時 2020-03-06 22:00:07
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 157 bytes
コンパイル時間 120 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 17,444 KB
最終ジャッジ日時 2024-10-14 10:38:04
合計ジャッジ時間 3,726 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 1 TLE * 1 -- * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
T = input()

result = 0
p = 0
while True:
    p = S.find(T, p)
    if p == -1:
        break
    p = p + len(T) - 1
    result += 1
print(result)
0