結果

問題 No.1586 Equal Array
ユーザー brthyyjpbrthyyjp
提出日時 2021-07-15 21:23:44
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 99 ms / 1,000 ms
コード長 116 bytes
コンパイル時間 619 ms
コンパイル使用メモリ 87,156 KB
実行使用メモリ 91,204 KB
最終ジャッジ日時 2023-09-18 06:12:17
合計ジャッジ時間 4,214 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,256 KB
testcase_01 AC 76 ms
71,632 KB
testcase_02 AC 76 ms
71,428 KB
testcase_03 AC 75 ms
71,132 KB
testcase_04 AC 95 ms
88,792 KB
testcase_05 AC 92 ms
88,620 KB
testcase_06 AC 97 ms
90,800 KB
testcase_07 AC 98 ms
90,752 KB
testcase_08 AC 97 ms
90,848 KB
testcase_09 AC 98 ms
90,748 KB
testcase_10 AC 98 ms
90,780 KB
testcase_11 AC 76 ms
71,204 KB
testcase_12 AC 75 ms
71,376 KB
testcase_13 AC 99 ms
90,768 KB
testcase_14 AC 98 ms
90,780 KB
testcase_15 AC 97 ms
90,796 KB
testcase_16 AC 99 ms
91,064 KB
testcase_17 AC 75 ms
71,372 KB
testcase_18 AC 98 ms
90,832 KB
testcase_19 AC 97 ms
91,204 KB
testcase_20 AC 76 ms
71,252 KB
testcase_21 AC 75 ms
71,536 KB
testcase_22 AC 75 ms
71,372 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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