結果
問題 |
No.1219 Mancala Combo
|
ユーザー |
![]() |
提出日時 | 2020-09-02 23:57:09 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 140 ms / 2,000 ms |
コード長 | 180 bytes |
コンパイル時間 | 151 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 30,416 KB |
最終ジャッジ日時 | 2024-11-24 11:15:52 |
合計ジャッジ時間 | 2,579 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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")