結果
| 問題 | No.2451 Redistribute Integers |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-09-01 21:31:43 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 150 ms / 2,000 ms |
| コード長 | 145 bytes |
| 記録 | |
| コンパイル時間 | 269 ms |
| コンパイル使用メモリ | 85,520 KB |
| 実行使用メモリ | 231,588 KB |
| 最終ジャッジ日時 | 2026-03-04 12:30:44 |
| 合計ジャッジ時間 | 2,522 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 |
ソースコード
N = int(input())
A = list(map(int, input().split()))
B = set([A[i] % N for i in range(N)])
if len(B) == 1:
print("Yes")
else:
print("No")