結果
| 問題 | No.2451 Redistribute Integers |
| コンテスト | |
| ユーザー |
irohasu19_
|
| 提出日時 | 2023-09-01 22:02:55 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 144 ms / 2,000 ms |
| + 509µs | |
| コード長 | 169 bytes |
| 記録 | |
| コンパイル時間 | 236 ms |
| コンパイル使用メモリ | 95,860 KB |
| 実行使用メモリ | 160,552 KB |
| 最終ジャッジ日時 | 2026-07-25 10:56:33 |
| 合計ジャッジ時間 | 3,729 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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_