結果

問題 No.2451 Redistribute Integers
ユーザー miho-4miho-4
提出日時 2023-09-01 21:31:00
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 196 ms / 2,000 ms
コード長 127 bytes
コンパイル時間 301 ms
コンパイル使用メモリ 87,116 KB
実行使用メモリ 174,636 KB
最終ジャッジ日時 2023-09-01 21:31:05
合計ジャッジ時間 4,499 ms
ジャッジサーバーID
(参考情報)
judge16 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,320 KB
testcase_01 AC 69 ms
71,420 KB
testcase_02 AC 70 ms
71,360 KB
testcase_03 AC 75 ms
71,328 KB
testcase_04 AC 195 ms
153,888 KB
testcase_05 AC 69 ms
71,492 KB
testcase_06 AC 70 ms
71,480 KB
testcase_07 AC 69 ms
71,360 KB
testcase_08 AC 165 ms
149,940 KB
testcase_09 AC 68 ms
71,604 KB
testcase_10 AC 69 ms
71,324 KB
testcase_11 AC 69 ms
71,352 KB
testcase_12 AC 111 ms
102,180 KB
testcase_13 AC 192 ms
174,636 KB
testcase_14 AC 193 ms
153,768 KB
testcase_15 AC 130 ms
111,448 KB
testcase_16 AC 130 ms
105,484 KB
testcase_17 AC 154 ms
130,192 KB
testcase_18 AC 172 ms
142,096 KB
testcase_19 AC 80 ms
80,560 KB
testcase_20 AC 163 ms
137,440 KB
testcase_21 AC 196 ms
173,696 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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