結果

問題 No.1586 Equal Array
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2021-07-08 22:23:40
言語 PyPy3
(7.3.8)
結果
AC  
実行時間 113 ms / 1,000 ms
コード長 111 bytes
コンパイル時間 488 ms
使用メモリ 95,572 KB
最終ジャッジ日時 2023-02-01 18:30:34
合計ジャッジ時間 4,036 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 85 ms
75,412 KB
testcase_01 AC 84 ms
75,636 KB
testcase_02 AC 85 ms
75,400 KB
testcase_03 AC 86 ms
75,644 KB
testcase_04 AC 106 ms
93,484 KB
testcase_05 AC 105 ms
93,516 KB
testcase_06 AC 112 ms
95,496 KB
testcase_07 AC 111 ms
95,504 KB
testcase_08 AC 112 ms
95,496 KB
testcase_09 AC 111 ms
95,528 KB
testcase_10 AC 111 ms
95,504 KB
testcase_11 AC 85 ms
75,400 KB
testcase_12 AC 85 ms
75,732 KB
testcase_13 AC 110 ms
95,496 KB
testcase_14 AC 111 ms
95,520 KB
testcase_15 AC 113 ms
95,200 KB
testcase_16 AC 112 ms
95,572 KB
testcase_17 AC 86 ms
75,604 KB
testcase_18 AC 111 ms
95,152 KB
testcase_19 AC 113 ms
95,440 KB
testcase_20 AC 85 ms
75,864 KB
testcase_21 AC 85 ms
75,804 KB
testcase_22 AC 86 ms
75,540 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
A = list(map(int,input().split()))
s = sum(A)
if s%n:
    print("No")
    exit()

print("Yes")
0