結果

問題 No.1256 連続整数列
ユーザー maimai
提出日時 2020-10-16 22:14:31
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 81 bytes
コンパイル時間 58 ms
コンパイル使用メモリ 11,440 KB
実行使用メモリ 15,348 KB
最終ジャッジ日時 2023-09-28 06:59:39
合計ジャッジ時間 3,432 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 80 ms
15,152 KB
testcase_04 AC 81 ms
15,080 KB
testcase_05 WA -
testcase_06 AC 82 ms
15,036 KB
testcase_07 AC 81 ms
15,140 KB
testcase_08 WA -
testcase_09 AC 81 ms
15,280 KB
testcase_10 WA -
testcase_11 AC 81 ms
15,040 KB
testcase_12 AC 81 ms
15,312 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 80 ms
15,132 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 80 ms
15,084 KB
testcase_23 AC 80 ms
15,232 KB
testcase_24 AC 82 ms
15,152 KB
testcase_25 AC 79 ms
15,156 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a = gets.to_i
if (a%2 == 0 && a >= 6) || a == 3
  puts 'YES'
else
  puts 'NO'
end
0