結果
問題 |
No.1005 BOT対策
|
ユーザー |
![]() |
提出日時 | 2020-03-06 21:49:38 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 214 bytes |
コンパイル時間 | 170 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 64,256 KB |
最終ジャッジ日時 | 2024-10-14 10:32:57 |
合計ジャッジ時間 | 2,642 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 WA * 5 |
ソースコード
s = str(input()) t = str(input()) if len(t) == 1: print(-1) exit() import re m = re.findall(t, s) if len(t) == 1: if len(m) != 0: print(-1) else: print(0) else: print(len(m))