結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
15,156 KB
testcase_01 WA -
testcase_02 AC 76 ms
15,136 KB
testcase_03 AC 81 ms
15,252 KB
testcase_04 WA -
testcase_05 AC 78 ms
15,144 KB
testcase_06 AC 89 ms
15,056 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 78 ms
15,292 KB
testcase_10 AC 77 ms
15,108 KB
testcase_11 AC 78 ms
15,220 KB
testcase_12 AC 78 ms
15,256 KB
testcase_13 WA -
testcase_14 AC 79 ms
15,004 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - s
Syntax OK

ソースコード

diff #

s = gets.to_i

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