結果
| 問題 |
No.3220 Forest Creation
|
| コンテスト | |
| ユーザー |
detteiuu
|
| 提出日時 | 2025-08-01 21:44:30 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 181 bytes |
| コンパイル時間 | 348 ms |
| コンパイル使用メモリ | 82,368 KB |
| 実行使用メモリ | 83,680 KB |
| 最終ジャッジ日時 | 2025-08-01 21:44:35 |
| 合計ジャッジ時間 | 4,399 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 43 WA * 2 |
ソースコード
N = int(input())
A = list(map(int, input().split()))
if N <= 1:
exit(print("Yes"))
SUM = 1
for i in range(2, N+1):
SUM += (i-1)*A[i]
print("Yes" if SUM <= A[1] else "No")
detteiuu