結果

問題 No.1586 Equal Array
ユーザー taiga0629kyoprotaiga0629kyopro
提出日時 2021-07-08 23:37:05
言語 PyPy3
(7.3.8)
結果
AC  
実行時間 113 ms / 1,000 ms
コード長 107 bytes
コンパイル時間 691 ms
使用メモリ 95,960 KB
最終ジャッジ日時 2023-02-01 19:26:29
合計ジャッジ時間 4,023 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 85 ms
75,692 KB
testcase_01 AC 85 ms
75,412 KB
testcase_02 AC 84 ms
75,500 KB
testcase_03 AC 86 ms
75,788 KB
testcase_04 AC 103 ms
93,476 KB
testcase_05 AC 106 ms
93,472 KB
testcase_06 AC 110 ms
95,376 KB
testcase_07 AC 109 ms
95,220 KB
testcase_08 AC 110 ms
95,568 KB
testcase_09 AC 110 ms
95,496 KB
testcase_10 AC 110 ms
95,216 KB
testcase_11 AC 86 ms
75,552 KB
testcase_12 AC 84 ms
75,828 KB
testcase_13 AC 113 ms
95,520 KB
testcase_14 AC 110 ms
95,536 KB
testcase_15 AC 111 ms
95,172 KB
testcase_16 AC 111 ms
95,456 KB
testcase_17 AC 85 ms
75,480 KB
testcase_18 AC 109 ms
95,568 KB
testcase_19 AC 111 ms
95,960 KB
testcase_20 AC 83 ms
75,812 KB
testcase_21 AC 85 ms
75,772 KB
testcase_22 AC 83 ms
75,480 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
a=list(map(int,input().split()))
s=sum(a)
if s%n==0:
    print("Yes")
else:
    print("No")
0