結果
| 問題 | No.1586 Equal Array |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-06-11 00:46:22 |
| 言語 | PyPy3 (7.3.23 + ac-library) |
| 結果 |
AC
不安定
|
| 実行時間 | 71 ms / 1,000 ms |
| + 484µs | |
| コード長 | 200 bytes |
| 記録 | |
| コンパイル時間 | 1,923 ms |
| コンパイル使用メモリ | 95,696 KB |
| 実行使用メモリ | 98,332 KB |
| 最終ジャッジ日時 | 2026-09-01 12:50:03 |
| 合計ジャッジ時間 | 4,055 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
import sys
input = lambda: sys.stdin.readline().rstrip()
##################
n = int(input())
A = list(map(int, input().split()))
ave = sum(A) / n
if ave % 1 != 0:
print('No')
else:
print('Yes')