結果

問題 No.1219 Mancala Combo
ユーザー rlangevinrlangevin
提出日時 2023-02-23 22:34:15
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 177 bytes
コンパイル時間 500 ms
コンパイル使用メモリ 87,044 KB
実行使用メモリ 107,120 KB
最終ジャッジ日時 2023-09-30 22:07:21
合計ジャッジ時間 5,375 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,304 KB
testcase_01 AC 71 ms
71,560 KB
testcase_02 AC 70 ms
71,300 KB
testcase_03 AC 72 ms
71,512 KB
testcase_04 WA -
testcase_05 AC 71 ms
71,300 KB
testcase_06 WA -
testcase_07 AC 71 ms
71,384 KB
testcase_08 WA -
testcase_09 AC 73 ms
71,364 KB
testcase_10 WA -
testcase_11 AC 71 ms
71,512 KB
testcase_12 WA -
testcase_13 AC 72 ms
71,144 KB
testcase_14 WA -
testcase_15 AC 72 ms
71,252 KB
testcase_16 WA -
testcase_17 AC 103 ms
96,840 KB
testcase_18 WA -
testcase_19 AC 101 ms
94,284 KB
testcase_20 WA -
testcase_21 AC 98 ms
91,704 KB
testcase_22 WA -
testcase_23 AC 111 ms
102,696 KB
testcase_24 WA -
testcase_25 AC 99 ms
93,900 KB
testcase_26 WA -
testcase_27 AC 115 ms
106,192 KB
testcase_28 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int, input().split()))
flag = 1
for i in range(1, N):
    if (A[i] - A[i - 1]) % i != 0:
        flag = 0
print("Yes") if flag else print("No")    
0