結果

問題 No.2451 Redistribute Integers
コンテスト
ユーザー miho-4
提出日時 2023-09-01 21:28:15
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 127 bytes
コンパイル時間 225 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 154,028 KB
最終ジャッジ日時 2024-06-11 10:59:21
合計ジャッジ時間 3,624 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 9 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
L=list(map(int,input().split()))
flag=0
x=L[0]%n
for e in L:
	if e%n!=x:
		flag=0
print("Yes" if flag else "No")
0