結果

問題 No.1005 BOT対策
ユーザー dangodango
提出日時 2023-06-20 19:08:47
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 124 bytes
コンパイル時間 561 ms
コンパイル使用メモリ 86,972 KB
実行使用メモリ 71,488 KB
最終ジャッジ日時 2023-09-10 15:08:22
合計ジャッジ時間 4,135 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,264 KB
testcase_01 AC 69 ms
71,160 KB
testcase_02 AC 71 ms
71,296 KB
testcase_03 AC 70 ms
71,408 KB
testcase_04 AC 69 ms
71,092 KB
testcase_05 AC 70 ms
71,180 KB
testcase_06 AC 69 ms
71,268 KB
testcase_07 AC 70 ms
71,212 KB
testcase_08 AC 70 ms
71,004 KB
testcase_09 AC 71 ms
70,976 KB
testcase_10 AC 70 ms
71,060 KB
testcase_11 AC 72 ms
71,312 KB
testcase_12 WA -
testcase_13 AC 70 ms
71,372 KB
testcase_14 AC 68 ms
70,972 KB
testcase_15 AC 70 ms
71,180 KB
testcase_16 AC 71 ms
71,080 KB
testcase_17 AC 71 ms
71,272 KB
testcase_18 AC 71 ms
71,280 KB
testcase_19 AC 71 ms
71,184 KB
testcase_20 AC 70 ms
71,264 KB
testcase_21 AC 69 ms
71,244 KB
testcase_22 AC 71 ms
71,344 KB
testcase_23 AC 70 ms
71,252 KB
testcase_24 AC 70 ms
71,400 KB
testcase_25 AC 72 ms
71,272 KB
testcase_26 AC 68 ms
71,380 KB
testcase_27 AC 69 ms
71,400 KB
testcase_28 WA -
testcase_29 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

S, T = input(), input()
S = S.replace(T, T[0] + '.' + T[1:]).replace("a.a.aa","aa.aa")
print(-1 if T in S else S.count('.'))
0