結果

問題 No.1586 Equal Array
ユーザー 👑 timitimi
提出日時 2021-07-25 22:02:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 97 ms / 1,000 ms
コード長 109 bytes
コンパイル時間 272 ms
コンパイル使用メモリ 87,128 KB
実行使用メモリ 91,108 KB
最終ジャッジ日時 2023-09-28 11:49:26
合計ジャッジ時間 4,338 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,308 KB
testcase_01 AC 72 ms
71,244 KB
testcase_02 AC 72 ms
71,388 KB
testcase_03 AC 73 ms
71,428 KB
testcase_04 AC 90 ms
88,832 KB
testcase_05 AC 92 ms
88,732 KB
testcase_06 AC 95 ms
90,988 KB
testcase_07 AC 96 ms
90,764 KB
testcase_08 AC 97 ms
90,868 KB
testcase_09 AC 94 ms
90,756 KB
testcase_10 AC 95 ms
90,852 KB
testcase_11 AC 73 ms
71,244 KB
testcase_12 AC 72 ms
71,456 KB
testcase_13 AC 97 ms
90,644 KB
testcase_14 AC 97 ms
90,784 KB
testcase_15 AC 97 ms
90,864 KB
testcase_16 AC 97 ms
90,764 KB
testcase_17 AC 74 ms
71,284 KB
testcase_18 AC 97 ms
90,836 KB
testcase_19 AC 96 ms
91,108 KB
testcase_20 AC 73 ms
71,420 KB
testcase_21 AC 72 ms
71,124 KB
testcase_22 AC 74 ms
71,320 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
A=list(map(int, input().split()))
if sum(A)==(sum(A)//N)*N:
  print('Yes')
else:
  print('No')
0