結果

問題 No.1005 BOT対策
ユーザー KisaragiEffectiveKisaragiEffective
提出日時 2020-11-08 17:59:37
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 92 bytes
コンパイル時間 47 ms
コンパイル使用メモリ 11,496 KB
実行使用メモリ 15,332 KB
最終ジャッジ日時 2023-09-29 21:31:56
合計ジャッジ時間 3,748 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
15,292 KB
testcase_01 AC 77 ms
15,100 KB
testcase_02 AC 77 ms
15,264 KB
testcase_03 AC 76 ms
15,252 KB
testcase_04 AC 77 ms
15,260 KB
testcase_05 AC 76 ms
15,076 KB
testcase_06 AC 81 ms
15,252 KB
testcase_07 AC 80 ms
15,044 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 79 ms
15,036 KB
testcase_11 AC 76 ms
15,040 KB
testcase_12 WA -
testcase_13 AC 76 ms
15,264 KB
testcase_14 AC 76 ms
15,132 KB
testcase_15 AC 76 ms
15,248 KB
testcase_16 AC 76 ms
15,016 KB
testcase_17 AC 77 ms
15,240 KB
testcase_18 WA -
testcase_19 AC 76 ms
15,260 KB
testcase_20 AC 76 ms
15,236 KB
testcase_21 AC 76 ms
15,244 KB
testcase_22 AC 76 ms
15,252 KB
testcase_23 AC 77 ms
15,036 KB
testcase_24 AC 80 ms
15,240 KB
testcase_25 AC 78 ms
15,128 KB
testcase_26 AC 77 ms
15,280 KB
testcase_27 AC 78 ms
15,272 KB
testcase_28 WA -
testcase_29 AC 78 ms
15,312 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

S=gets.chomp
T=gets.chomp
if T.size == 1 then
    puts "-1"
else
    puts S.scan(T).size
end
0