結果

問題 No.1586 Equal Array
ユーザー googol_S0googol_S0
提出日時 2021-07-08 22:20:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 90 ms / 1,000 ms
コード長 99 bytes
コンパイル時間 239 ms
コンパイル使用メモリ 86,756 KB
実行使用メモリ 91,124 KB
最終ジャッジ日時 2023-09-14 04:57:13
合計ジャッジ時間 3,083 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
71,320 KB
testcase_01 AC 60 ms
71,264 KB
testcase_02 AC 62 ms
71,508 KB
testcase_03 AC 60 ms
71,360 KB
testcase_04 AC 77 ms
88,672 KB
testcase_05 AC 81 ms
88,608 KB
testcase_06 AC 84 ms
90,624 KB
testcase_07 AC 80 ms
90,820 KB
testcase_08 AC 80 ms
90,772 KB
testcase_09 AC 81 ms
90,712 KB
testcase_10 AC 82 ms
90,896 KB
testcase_11 AC 60 ms
71,212 KB
testcase_12 AC 59 ms
71,400 KB
testcase_13 AC 79 ms
90,692 KB
testcase_14 AC 80 ms
90,628 KB
testcase_15 AC 85 ms
90,652 KB
testcase_16 AC 84 ms
90,692 KB
testcase_17 AC 61 ms
71,500 KB
testcase_18 AC 84 ms
90,840 KB
testcase_19 AC 90 ms
91,124 KB
testcase_20 AC 64 ms
71,580 KB
testcase_21 AC 61 ms
71,592 KB
testcase_22 AC 63 ms
71,132 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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