結果

問題 No.1586 Equal Array
ユーザー kazuki26
提出日時 2021-07-11 16:26:48
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 139 bytes
コンパイル時間 102 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 21,644 KB
最終ジャッジ日時 2024-07-02 03:06:53
合計ジャッジ時間 2,576 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

array = [int(x) for x in input().split()]

if sum(array)%2 == 0 and sum(array) % n == 0:
	print('Yes')
else:
	print('No')
0