結果

問題 No.2451 Redistribute Integers
ユーザー ニックネームニックネーム
提出日時 2023-09-01 21:29:43
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 263 ms / 2,000 ms
コード長 102 bytes
コンパイル時間 274 ms
コンパイル使用メモリ 10,524 KB
実行使用メモリ 70,504 KB
最終ジャッジ日時 2023-09-01 21:29:48
合計ジャッジ時間 3,811 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,804 KB
testcase_01 AC 15 ms
7,844 KB
testcase_02 AC 16 ms
7,860 KB
testcase_03 AC 15 ms
7,812 KB
testcase_04 AC 204 ms
70,504 KB
testcase_05 AC 16 ms
7,828 KB
testcase_06 AC 16 ms
7,828 KB
testcase_07 AC 15 ms
7,964 KB
testcase_08 AC 212 ms
69,984 KB
testcase_09 AC 15 ms
7,828 KB
testcase_10 AC 15 ms
7,828 KB
testcase_11 AC 15 ms
7,788 KB
testcase_12 AC 92 ms
26,364 KB
testcase_13 AC 202 ms
62,968 KB
testcase_14 AC 186 ms
64,636 KB
testcase_15 AC 110 ms
35,640 KB
testcase_16 AC 122 ms
32,456 KB
testcase_17 AC 195 ms
50,244 KB
testcase_18 AC 199 ms
62,776 KB
testcase_19 AC 33 ms
14,776 KB
testcase_20 AC 215 ms
54,260 KB
testcase_21 AC 263 ms
66,280 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = list(map(int,input().split()))
print("Yes" if len({v%n for v in a})==1 else "No")
0