結果

問題 No.1586 Equal Array
ユーザー taiga0629kyoprotaiga0629kyopro
提出日時 2021-07-08 23:37:05
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 65 ms / 1,000 ms
コード長 107 bytes
コンパイル時間 249 ms
コンパイル使用メモリ 82,412 KB
実行使用メモリ 82,896 KB
最終ジャッジ日時 2024-07-01 13:17:15
合計ジャッジ時間 2,339 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

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