結果

問題 No.1005 BOT対策
ユーザー mesame3993mesame3993
提出日時 2021-11-18 15:39:38
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 158 bytes
コンパイル時間 905 ms
コンパイル使用メモリ 86,740 KB
実行使用メモリ 71,568 KB
最終ジャッジ日時 2023-08-27 01:54:09
合計ジャッジ時間 3,413 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
71,408 KB
testcase_01 AC 65 ms
71,028 KB
testcase_02 AC 63 ms
71,304 KB
testcase_03 AC 65 ms
71,224 KB
testcase_04 AC 65 ms
71,544 KB
testcase_05 AC 67 ms
71,220 KB
testcase_06 AC 67 ms
71,216 KB
testcase_07 AC 65 ms
71,404 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 65 ms
71,036 KB
testcase_11 AC 64 ms
71,472 KB
testcase_12 WA -
testcase_13 AC 65 ms
71,328 KB
testcase_14 AC 66 ms
71,336 KB
testcase_15 AC 66 ms
71,560 KB
testcase_16 AC 67 ms
71,032 KB
testcase_17 AC 66 ms
71,232 KB
testcase_18 WA -
testcase_19 AC 69 ms
71,292 KB
testcase_20 AC 66 ms
71,192 KB
testcase_21 AC 69 ms
71,460 KB
testcase_22 AC 64 ms
71,236 KB
testcase_23 AC 65 ms
71,356 KB
testcase_24 AC 65 ms
71,456 KB
testcase_25 AC 64 ms
71,544 KB
testcase_26 AC 63 ms
71,028 KB
testcase_27 AC 65 ms
71,264 KB
testcase_28 WA -
testcase_29 AC 64 ms
71,332 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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()
0