結果

問題 No.1672 404 Not Found
ユーザー kazuyakazuya
提出日時 2022-04-21 12:45:50
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 95 bytes
コンパイル時間 318 ms
コンパイル使用メモリ 11,424 KB
実行使用メモリ 15,316 KB
最終ジャッジ日時 2023-09-04 17:18:12
合計ジャッジ時間 2,572 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,104 KB
testcase_01 WA -
testcase_02 AC 83 ms
15,284 KB
testcase_03 AC 84 ms
15,264 KB
testcase_04 WA -
testcase_05 AC 83 ms
15,056 KB
testcase_06 AC 83 ms
15,312 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 83 ms
15,316 KB
testcase_10 AC 84 ms
15,052 KB
testcase_11 AC 83 ms
15,104 KB
testcase_12 AC 83 ms
15,268 KB
testcase_13 WA -
testcase_14 AC 84 ms
15,256 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - s
Syntax OK

ソースコード

diff #

s = gets.chomp

if "4" in s
    puts "Yes"
elsif "5" in s
    puts "Yes"
else
    puts "No"
end
0