結果

問題 No.969 じゃんけん
ユーザー simansiman
提出日時 2020-03-23 15:00:11
言語 Ruby
(3.3.0)
結果
AC  
実行時間 77 ms / 2,000 ms
コード長 75 bytes
コンパイル時間 397 ms
コンパイル使用メモリ 11,408 KB
実行使用メモリ 15,256 KB
最終ジャッジ日時 2023-08-27 01:27:38
合計ジャッジ時間 1,521 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
15,120 KB
testcase_01 AC 77 ms
14,996 KB
testcase_02 AC 75 ms
15,060 KB
testcase_03 AC 75 ms
15,048 KB
testcase_04 AC 74 ms
15,256 KB
testcase_05 AC 74 ms
15,044 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

X = gets.to_i

if [0, 4, 10].include?(X)
  puts 'Yes'
else
  puts 'No'
end
0