結果
| 問題 | No.2451 Redistribute Integers |
| コンテスト | |
| ユーザー |
irohasu19_
|
| 提出日時 | 2023-09-01 22:02:55 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 104 ms / 2,000 ms |
| コード長 | 169 bytes |
| 記録 | |
| コンパイル時間 | 119 ms |
| コンパイル使用メモリ | 85,584 KB |
| 実行使用メモリ | 158,628 KB |
| 最終ジャッジ日時 | 2026-03-04 12:34:09 |
| 合計ジャッジ時間 | 2,222 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 |
ソースコード
import sys
n = int(input())
A = list(map(int, input().split()))
rem = A[0] % n
for x in A:
temp = x % n
if rem!=temp:
print("No")
sys.exit()
print("Yes")
irohasu19_