結果
問題 |
No.1219 Mancala Combo
|
ユーザー |
![]() |
提出日時 | 2020-09-02 23:33:53 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 78 ms / 2,000 ms |
コード長 | 180 bytes |
コンパイル時間 | 243 ms |
コンパイル使用メモリ | 82,560 KB |
実行使用メモリ | 101,248 KB |
最終ジャッジ日時 | 2024-11-24 11:15:49 |
合計ジャッジ時間 | 2,514 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 26 |
ソースコード
n = int(input()) a = list(map(int, input().split())) t = 0 ok = True for i in range(n-1, -1, -1): t += a[i] if t % (i+1) != 0: ok = False break print("Yes" if ok else "No")