結果

問題 No.1256 連続整数列
ユーザー gemmarogemmaro
提出日時 2020-10-16 21:24:30
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 102 bytes
コンパイル時間 51 ms
コンパイル使用メモリ 11,548 KB
実行使用メモリ 15,380 KB
最終ジャッジ日時 2023-09-28 06:48:28
合計ジャッジ時間 2,826 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 67 ms
15,028 KB
testcase_05 WA -
testcase_06 AC 69 ms
15,100 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 68 ms
15,036 KB
testcase_10 AC 67 ms
15,092 KB
testcase_11 AC 67 ms
15,024 KB
testcase_12 AC 68 ms
15,248 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 68 ms
15,244 KB
testcase_16 WA -
testcase_17 AC 68 ms
15,096 KB
testcase_18 WA -
testcase_19 AC 69 ms
15,288 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 69 ms
15,140 KB
testcase_23 AC 69 ms
15,112 KB
testcase_24 WA -
testcase_25 AC 69 ms
15,116 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

# frozen_string_literal: true

def solve
  (A % 3).zero? ? 'YES' : 'NO'
end

A = gets.to_i
puts solve
0