結果

問題 No.1586 Equal Array
ユーザー 👑 rin204rin204
提出日時 2021-08-05 13:17:39
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 63 ms / 1,000 ms
コード長 127 bytes
コンパイル時間 149 ms
コンパイル使用メモリ 82,792 KB
実行使用メモリ 84,148 KB
最終ジャッジ日時 2024-09-16 15:19:39
合計ジャッジ時間 2,262 ms
ジャッジサーバーID
(参考情報)
judge6 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
alst = list(map(int, input().split()))
tot = sum(alst)
if tot % n == 0:
    print("Yes")
else:
    print("No")
0