結果

問題 No.1219 Mancala Combo
ユーザー tyawanmusityawanmusi
提出日時 2020-09-04 21:47:13
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 141 bytes
コンパイル時間 186 ms
コンパイル使用メモリ 10,680 KB
実行使用メモリ 30,980 KB
最終ジャッジ日時 2023-08-17 15:22:37
合計ジャッジ時間 2,209 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,816 KB
testcase_01 AC 15 ms
8,200 KB
testcase_02 WA -
testcase_03 AC 14 ms
7,764 KB
testcase_04 WA -
testcase_05 AC 15 ms
8,096 KB
testcase_06 WA -
testcase_07 AC 14 ms
8,212 KB
testcase_08 WA -
testcase_09 AC 14 ms
8,088 KB
testcase_10 WA -
testcase_11 AC 14 ms
8,272 KB
testcase_12 WA -
testcase_13 AC 14 ms
8,172 KB
testcase_14 AC 14 ms
8,136 KB
testcase_15 AC 14 ms
7,928 KB
testcase_16 WA -
testcase_17 AC 53 ms
20,056 KB
testcase_18 WA -
testcase_19 AC 48 ms
18,784 KB
testcase_20 WA -
testcase_21 AC 44 ms
17,608 KB
testcase_22 WA -
testcase_23 AC 61 ms
22,484 KB
testcase_24 WA -
testcase_25 AC 47 ms
18,188 KB
testcase_26 WA -
testcase_27 AC 68 ms
24,952 KB
testcase_28 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
a=list(map(int,input().split()))
for i in range(n-1,-1,-1):
  x=i+1
  y=a[i]+(i-(n-1))
  if y%x:exit(print("No"))
print("Yes")
0