結果

問題 No.1586 Equal Array
ユーザー mesame3993mesame3993
提出日時 2021-09-26 20:05:13
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 118 ms / 1,000 ms
コード長 111 bytes
コンパイル時間 399 ms
コンパイル使用メモリ 86,328 KB
実行使用メモリ 91,104 KB
最終ジャッジ日時 2023-09-19 04:23:18
合計ジャッジ時間 5,172 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
71,052 KB
testcase_01 AC 80 ms
71,304 KB
testcase_02 AC 80 ms
71,108 KB
testcase_03 AC 76 ms
71,140 KB
testcase_04 AC 118 ms
88,636 KB
testcase_05 AC 95 ms
88,856 KB
testcase_06 AC 99 ms
90,680 KB
testcase_07 AC 100 ms
90,580 KB
testcase_08 AC 101 ms
90,416 KB
testcase_09 AC 103 ms
90,452 KB
testcase_10 AC 102 ms
90,680 KB
testcase_11 AC 80 ms
71,272 KB
testcase_12 AC 79 ms
71,232 KB
testcase_13 AC 105 ms
90,400 KB
testcase_14 AC 103 ms
90,756 KB
testcase_15 AC 104 ms
90,788 KB
testcase_16 AC 104 ms
90,996 KB
testcase_17 AC 78 ms
71,320 KB
testcase_18 AC 103 ms
90,384 KB
testcase_19 AC 102 ms
91,104 KB
testcase_20 AC 79 ms
71,392 KB
testcase_21 AC 78 ms
70,960 KB
testcase_22 AC 77 ms
71,276 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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