結果

問題 No.1586 Equal Array
ユーザー shakayamishakayami
提出日時 2021-07-08 22:22:11
言語 PyPy3
(7.3.8)
結果
AC  
実行時間 104 ms / 1,000 ms
コード長 106 bytes
コンパイル時間 281 ms
使用メモリ 90,260 KB
最終ジャッジ日時 2023-02-01 18:26:49
合計ジャッジ時間 4,050 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 81 ms
75,864 KB
testcase_01 AC 81 ms
75,500 KB
testcase_02 AC 81 ms
75,924 KB
testcase_03 AC 82 ms
75,920 KB
testcase_04 AC 92 ms
88,120 KB
testcase_05 AC 90 ms
87,724 KB
testcase_06 AC 99 ms
90,260 KB
testcase_07 AC 101 ms
90,164 KB
testcase_08 AC 101 ms
90,160 KB
testcase_09 AC 101 ms
90,256 KB
testcase_10 AC 100 ms
90,052 KB
testcase_11 AC 78 ms
75,724 KB
testcase_12 AC 77 ms
75,788 KB
testcase_13 AC 101 ms
89,760 KB
testcase_14 AC 100 ms
90,224 KB
testcase_15 AC 102 ms
90,100 KB
testcase_16 AC 104 ms
89,768 KB
testcase_17 AC 81 ms
75,744 KB
testcase_18 AC 102 ms
89,976 KB
testcase_19 AC 104 ms
90,128 KB
testcase_20 AC 81 ms
75,748 KB
testcase_21 AC 84 ms
75,824 KB
testcase_22 AC 79 ms
75,824 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
A=[int(i) for i in input().split()]
if sum(A)%N==0:
    print("Yes")
else:
    print("No")
0