結果

問題 No.1586 Equal Array
ユーザー titan23
提出日時 2022-06-11 00:46:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 67 ms / 1,000 ms
コード長 200 bytes
コンパイル時間 162 ms
コンパイル使用メモリ 82,132 KB
実行使用メモリ 84,212 KB
最終ジャッジ日時 2024-09-21 07:58:48
合計ジャッジ時間 2,827 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = lambda: sys.stdin.readline().rstrip()

##################

n = int(input())
A = list(map(int, input().split()))
ave = sum(A) / n
if ave % 1 != 0:
  print('No')
else:
  print('Yes')
0