結果

問題 No.1005 BOT対策
ユーザー brthyyjp
提出日時 2020-03-06 21:54:32
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 182 bytes
コンパイル時間 173 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 64,512 KB
最終ジャッジ日時 2024-10-14 10:35:25
合計ジャッジ時間 2,973 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

s = str(input())
t = str(input())

import re
m = re.findall(t, s)
#print(m)

if len(t) == 1:
    if len(m) == 0:
        print(0)
    else:
        print(-1)
else:
    print(len(m))
0