結果

問題 No.1586 Equal Array
ユーザー kotatsugamekotatsugame
提出日時 2021-07-08 22:22:40
言語 Ruby
(3.2.2)
結果
AC  
実行時間 126 ms / 1,000 ms
コード長 57 bytes
コンパイル時間 293 ms
コンパイル使用メモリ 11,484 KB
実行使用メモリ 22,944 KB
最終ジャッジ日時 2023-09-14 04:59:39
合計ジャッジ時間 3,876 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
15,236 KB
testcase_01 AC 76 ms
15,124 KB
testcase_02 AC 77 ms
15,280 KB
testcase_03 AC 76 ms
15,184 KB
testcase_04 AC 120 ms
22,104 KB
testcase_05 AC 116 ms
22,312 KB
testcase_06 AC 119 ms
22,904 KB
testcase_07 AC 119 ms
22,756 KB
testcase_08 AC 120 ms
22,680 KB
testcase_09 AC 121 ms
22,920 KB
testcase_10 AC 124 ms
22,732 KB
testcase_11 AC 81 ms
15,288 KB
testcase_12 AC 78 ms
15,000 KB
testcase_13 AC 126 ms
22,768 KB
testcase_14 AC 120 ms
22,792 KB
testcase_15 AC 121 ms
22,904 KB
testcase_16 AC 121 ms
22,944 KB
testcase_17 AC 77 ms
15,260 KB
testcase_18 AC 119 ms
22,812 KB
testcase_19 AC 122 ms
22,912 KB
testcase_20 AC 77 ms
15,104 KB
testcase_21 AC 78 ms
15,128 KB
testcase_22 AC 78 ms
15,264 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n,*a=gets(p).split.map &:to_i
puts a.sum%n>0 ? :No : :Yes
0