結果

問題 No.430 文字列検索
ユーザー mmmpppmmmppp
提出日時 2017-02-28 16:04:57
言語 Ruby
(3.3.0)
結果
AC  
実行時間 1,014 ms / 2,000 ms
コード長 61 bytes
コンパイル時間 203 ms
コンパイル使用メモリ 11,248 KB
実行使用メモリ 15,476 KB
最終ジャッジ日時 2023-09-02 17:21:54
合計ジャッジ時間 9,953 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,096 KB
testcase_01 AC 286 ms
15,324 KB
testcase_02 AC 511 ms
15,396 KB
testcase_03 AC 449 ms
15,308 KB
testcase_04 AC 83 ms
15,164 KB
testcase_05 AC 83 ms
15,100 KB
testcase_06 AC 84 ms
15,056 KB
testcase_07 AC 82 ms
15,284 KB
testcase_08 AC 83 ms
15,112 KB
testcase_09 AC 84 ms
15,144 KB
testcase_10 AC 87 ms
15,296 KB
testcase_11 AC 924 ms
15,432 KB
testcase_12 AC 929 ms
15,476 KB
testcase_13 AC 926 ms
15,220 KB
testcase_14 AC 1,014 ms
15,296 KB
testcase_15 AC 973 ms
15,376 KB
testcase_16 AC 837 ms
15,440 KB
testcase_17 AC 840 ms
15,412 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets;t=0;$<.map{|s|i=-1;t+=1while i=$_.index(s.chop,i+1)};p t
0