結果

問題 No.558 575検出するやつ
ユーザー osyo-mangaosyo-manga
提出日時 2023-06-02 17:25:58
言語 Ruby
(3.3.0)
結果
AC  
実行時間 82 ms / 2,000 ms
コード長 141 bytes
コンパイル時間 61 ms
コンパイル使用メモリ 11,532 KB
実行使用メモリ 15,332 KB
最終ジャッジ日時 2023-08-28 02:23:39
合計ジャッジ時間 2,448 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
15,144 KB
testcase_01 AC 82 ms
15,104 KB
testcase_02 AC 76 ms
15,240 KB
testcase_03 AC 75 ms
15,100 KB
testcase_04 AC 75 ms
15,164 KB
testcase_05 AC 76 ms
15,236 KB
testcase_06 AC 76 ms
15,104 KB
testcase_07 AC 76 ms
15,044 KB
testcase_08 AC 75 ms
15,332 KB
testcase_09 AC 76 ms
15,132 KB
testcase_10 AC 75 ms
15,272 KB
testcase_11 AC 75 ms
15,076 KB
testcase_12 AC 75 ms
15,252 KB
testcase_13 AC 75 ms
15,148 KB
testcase_14 AC 74 ms
15,148 KB
testcase_15 AC 74 ms
15,292 KB
testcase_16 AC 75 ms
14,984 KB
testcase_17 AC 75 ms
15,180 KB
testcase_18 AC 74 ms
15,040 KB
testcase_19 AC 75 ms
15,140 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

# 入力された値を文字列で受け取る
str = gets.chomp


# if str.include? "575"
if str =~ /575/
  puts "YES"
else
  puts "NO"
end
0