結果

問題 No.1586 Equal Array
ユーザー Shiro_SShiro_S
提出日時 2021-07-08 22:23:33
言語 Ruby
(3.3.0)
結果
AC  
実行時間 134 ms / 1,000 ms
コード長 65 bytes
コンパイル時間 263 ms
コンパイル使用メモリ 11,364 KB
実行使用メモリ 22,188 KB
最終ジャッジ日時 2023-09-14 05:01:32
合計ジャッジ時間 4,155 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
15,044 KB
testcase_01 AC 88 ms
15,080 KB
testcase_02 AC 84 ms
15,276 KB
testcase_03 AC 86 ms
15,260 KB
testcase_04 AC 125 ms
21,336 KB
testcase_05 AC 124 ms
21,260 KB
testcase_06 AC 129 ms
22,188 KB
testcase_07 AC 132 ms
22,160 KB
testcase_08 AC 133 ms
21,992 KB
testcase_09 AC 134 ms
22,020 KB
testcase_10 AC 131 ms
22,016 KB
testcase_11 AC 85 ms
15,148 KB
testcase_12 AC 85 ms
15,268 KB
testcase_13 AC 133 ms
21,944 KB
testcase_14 AC 134 ms
22,136 KB
testcase_15 AC 131 ms
21,856 KB
testcase_16 AC 133 ms
22,128 KB
testcase_17 AC 87 ms
15,088 KB
testcase_18 AC 131 ms
21,980 KB
testcase_19 AC 133 ms
22,060 KB
testcase_20 AC 84 ms
15,368 KB
testcase_21 AC 84 ms
15,084 KB
testcase_22 AC 84 ms
15,084 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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