結果

問題 No.1586 Equal Array
ユーザー dangodango
提出日時 2023-06-25 15:03:17
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 66 ms / 1,000 ms
コード長 117 bytes
コンパイル時間 147 ms
コンパイル使用メモリ 82,152 KB
実行使用メモリ 82,560 KB
最終ジャッジ日時 2024-07-02 13:24:06
合計ジャッジ時間 2,864 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = list(map(int, input().split()))
x = sum(a)
if x % n > 0:
    print("No")
    exit()
print("Yes")
0