結果
問題 |
No.1219 Mancala Combo
|
ユーザー |
![]() |
提出日時 | 2022-05-18 11:43:06 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 205 bytes |
コンパイル時間 | 292 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 100,352 KB |
最終ジャッジ日時 | 2024-09-16 12:37:31 |
合計ジャッジ時間 | 3,527 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 WA * 12 |
ソースコード
N = int(input()) A = list(map(int, input().split())) sm = 0 for i in reversed(range(N)): if (A[i]+sm) % (i+1) == 0: sm += (A[i]+sm)//2 else: print('No') exit() print('Yes')