結果
問題 |
No.1005 BOT対策
|
ユーザー |
![]() |
提出日時 | 2021-11-18 15:39:38 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 158 bytes |
コンパイル時間 | 208 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 52,224 KB |
最終ジャッジ日時 | 2024-12-26 06:27:53 |
合計ジャッジ時間 | 2,976 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 WA * 5 |
ソースコード
def main(): from sys import stdin readline=stdin.readline s = input() t = input() if len(t) == 1: print(-1) else: print(s.count(t)) main()