結果

問題 No.1586 Equal Array
ユーザー miya145592miya145592
提出日時 2023-05-07 01:38:37
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 101 ms / 1,000 ms
コード長 113 bytes
コンパイル時間 286 ms
コンパイル使用メモリ 87,384 KB
実行使用メモリ 91,116 KB
最終ジャッジ日時 2023-08-15 20:28:22
合計ジャッジ時間 4,995 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
71,336 KB
testcase_01 AC 79 ms
71,284 KB
testcase_02 AC 76 ms
70,996 KB
testcase_03 AC 74 ms
71,372 KB
testcase_04 AC 92 ms
88,504 KB
testcase_05 AC 96 ms
88,876 KB
testcase_06 AC 101 ms
90,624 KB
testcase_07 AC 98 ms
90,568 KB
testcase_08 AC 98 ms
90,568 KB
testcase_09 AC 95 ms
90,572 KB
testcase_10 AC 97 ms
90,916 KB
testcase_11 AC 74 ms
71,312 KB
testcase_12 AC 72 ms
71,368 KB
testcase_13 AC 96 ms
90,452 KB
testcase_14 AC 98 ms
90,624 KB
testcase_15 AC 97 ms
90,940 KB
testcase_16 AC 96 ms
90,600 KB
testcase_17 AC 73 ms
71,296 KB
testcase_18 AC 96 ms
90,604 KB
testcase_19 AC 97 ms
91,116 KB
testcase_20 AC 73 ms
71,392 KB
testcase_21 AC 74 ms
71,360 KB
testcase_22 AC 74 ms
71,364 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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