結果

問題 No.1586 Equal Array
ユーザー kamomekamome
提出日時 2021-07-08 22:39:29
言語 PyPy3
(7.3.8)
結果
AC  
実行時間 111 ms / 1,000 ms
コード長 102 bytes
コンパイル時間 275 ms
使用メモリ 95,748 KB
最終ジャッジ日時 2023-02-01 18:48:42
合計ジャッジ時間 4,028 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 83 ms
75,552 KB
testcase_01 AC 83 ms
75,476 KB
testcase_02 AC 84 ms
75,572 KB
testcase_03 AC 83 ms
75,620 KB
testcase_04 AC 103 ms
93,260 KB
testcase_05 AC 101 ms
93,432 KB
testcase_06 AC 107 ms
95,160 KB
testcase_07 AC 108 ms
95,084 KB
testcase_08 AC 108 ms
95,496 KB
testcase_09 AC 111 ms
95,396 KB
testcase_10 AC 107 ms
95,484 KB
testcase_11 AC 82 ms
75,376 KB
testcase_12 AC 83 ms
75,752 KB
testcase_13 AC 107 ms
95,376 KB
testcase_14 AC 108 ms
95,448 KB
testcase_15 AC 108 ms
95,384 KB
testcase_16 AC 109 ms
95,456 KB
testcase_17 AC 87 ms
75,708 KB
testcase_18 AC 108 ms
95,624 KB
testcase_19 AC 110 ms
95,748 KB
testcase_20 AC 83 ms
75,568 KB
testcase_21 AC 83 ms
75,644 KB
testcase_22 AC 83 ms
75,668 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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