結果

問題 No.1586 Equal Array
ユーザー titan23titan23
提出日時 2022-06-11 00:46:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 65 ms / 1,000 ms
コード長 200 bytes
コンパイル時間 179 ms
コンパイル使用メモリ 81,520 KB
実行使用メモリ 82,960 KB
最終ジャッジ日時 2023-10-21 06:49:32
合計ジャッジ時間 3,405 ms
ジャッジサーバーID
(参考情報)
judge11 / judge10
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
53,520 KB
testcase_01 AC 37 ms
53,520 KB
testcase_02 AC 37 ms
53,520 KB
testcase_03 AC 37 ms
53,520 KB
testcase_04 AC 62 ms
78,540 KB
testcase_05 AC 58 ms
78,540 KB
testcase_06 AC 65 ms
82,632 KB
testcase_07 AC 62 ms
82,632 KB
testcase_08 AC 61 ms
82,632 KB
testcase_09 AC 62 ms
82,632 KB
testcase_10 AC 63 ms
82,632 KB
testcase_11 AC 37 ms
53,520 KB
testcase_12 AC 37 ms
53,520 KB
testcase_13 AC 61 ms
82,620 KB
testcase_14 AC 61 ms
82,620 KB
testcase_15 AC 63 ms
82,620 KB
testcase_16 AC 63 ms
82,620 KB
testcase_17 AC 37 ms
53,520 KB
testcase_18 AC 62 ms
82,668 KB
testcase_19 AC 63 ms
82,960 KB
testcase_20 AC 39 ms
53,520 KB
testcase_21 AC 38 ms
53,520 KB
testcase_22 AC 40 ms
53,520 KB
権限があれば一括ダウンロードができます

ソースコード

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