結果

問題 No.2451 Redistribute Integers
ユーザー miho-4miho-4
提出日時 2023-09-01 21:28:15
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 127 bytes
コンパイル時間 299 ms
コンパイル使用メモリ 87,204 KB
実行使用メモリ 174,436 KB
最終ジャッジ日時 2023-09-01 21:28:20
合計ジャッジ時間 4,497 ms
ジャッジサーバーID
(参考情報)
judge16 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 72 ms
71,460 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 72 ms
71,264 KB
testcase_06 AC 73 ms
71,368 KB
testcase_07 WA -
testcase_08 AC 165 ms
149,860 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 114 ms
102,256 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 132 ms
105,536 KB
testcase_17 AC 156 ms
130,144 KB
testcase_18 WA -
testcase_19 AC 86 ms
80,564 KB
testcase_20 AC 187 ms
137,724 KB
testcase_21 AC 200 ms
173,956 KB
権限があれば一括ダウンロードができます

ソースコード

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