結果
| 問題 | No.1219 Mancala Combo |
| コンテスト | |
| ユーザー |
回転
|
| 提出日時 | 2025-10-24 21:01:37 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 88 ms / 2,000 ms |
| + 929µs | |
| コード長 | 206 bytes |
| 記録 | |
| コンパイル時間 | 1,644 ms |
| コンパイル使用メモリ | 96,104 KB |
| 実行使用メモリ | 113,920 KB |
| 最終ジャッジ日時 | 2026-07-15 21:50:47 |
| 合計ジャッジ時間 | 4,249 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 26 |
ソースコード
N = int(input())
A = list(map(int,input().split()))
plus = 0
for i in range(N-1,-1,-1):
if((A[i] + plus) % (i+1) != 0):
print("No")
exit()
plus += (A[i] + plus)//(i+1)
print("Yes")
回転