結果

問題 No.1586 Equal Array
ユーザー kona0001kona0001
提出日時 2021-07-08 22:24:04
言語 Ruby
(3.1.1p18 )
結果
AC  
実行時間 114 ms / 1,000 ms
コード長 86 bytes
コンパイル時間 30 ms
使用メモリ 22,112 KB
最終ジャッジ日時 2023-02-01 18:31:26
合計ジャッジ時間 3,534 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 70 ms
13,900 KB
testcase_01 AC 69 ms
13,840 KB
testcase_02 AC 69 ms
13,944 KB
testcase_03 AC 70 ms
13,976 KB
testcase_04 AC 109 ms
20,692 KB
testcase_05 AC 107 ms
20,480 KB
testcase_06 AC 112 ms
22,112 KB
testcase_07 AC 114 ms
21,904 KB
testcase_08 AC 113 ms
21,880 KB
testcase_09 AC 112 ms
21,868 KB
testcase_10 AC 112 ms
21,912 KB
testcase_11 AC 72 ms
13,848 KB
testcase_12 AC 71 ms
13,832 KB
testcase_13 AC 112 ms
21,960 KB
testcase_14 AC 112 ms
21,856 KB
testcase_15 AC 114 ms
22,020 KB
testcase_16 AC 112 ms
21,828 KB
testcase_17 AC 71 ms
13,940 KB
testcase_18 AC 111 ms
21,788 KB
testcase_19 AC 113 ms
22,112 KB
testcase_20 AC 71 ms
13,988 KB
testcase_21 AC 70 ms
13,848 KB
testcase_22 AC 70 ms
13,804 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n = gets.to_i
a = gets.chomp.split(" ").map(&:to_i)
puts a.sum % n == 0 ? "Yes" : "No"
0