結果

問題 No.1586 Equal Array
ユーザー taiga0629kyoprotaiga0629kyopro
提出日時 2021-07-08 23:37:05
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 95 ms / 1,000 ms
コード長 107 bytes
コンパイル時間 694 ms
コンパイル使用メモリ 87,296 KB
実行使用メモリ 91,084 KB
最終ジャッジ日時 2023-09-14 05:41:31
合計ジャッジ時間 3,727 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,424 KB
testcase_01 AC 68 ms
71,316 KB
testcase_02 AC 68 ms
71,296 KB
testcase_03 AC 70 ms
71,152 KB
testcase_04 AC 93 ms
88,688 KB
testcase_05 AC 90 ms
88,848 KB
testcase_06 AC 93 ms
90,756 KB
testcase_07 AC 93 ms
90,652 KB
testcase_08 AC 93 ms
90,876 KB
testcase_09 AC 91 ms
90,656 KB
testcase_10 AC 91 ms
90,808 KB
testcase_11 AC 69 ms
70,956 KB
testcase_12 AC 68 ms
71,288 KB
testcase_13 AC 91 ms
90,744 KB
testcase_14 AC 95 ms
90,804 KB
testcase_15 AC 93 ms
90,864 KB
testcase_16 AC 94 ms
90,732 KB
testcase_17 AC 70 ms
71,100 KB
testcase_18 AC 93 ms
91,084 KB
testcase_19 AC 94 ms
90,976 KB
testcase_20 AC 69 ms
71,104 KB
testcase_21 AC 69 ms
71,464 KB
testcase_22 AC 69 ms
71,300 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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