結果
問題 |
No.3220 Forest Creation
|
ユーザー |
![]() |
提出日時 | 2025-08-01 22:57:12 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 138 bytes |
コンパイル時間 | 257 ms |
コンパイル使用メモリ | 82,776 KB |
実行使用メモリ | 88,944 KB |
最終ジャッジ日時 | 2025-08-01 22:57:17 |
合計ジャッジ時間 | 3,510 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 38 WA * 7 |
ソースコード
n=int(input()) a=list(map(int,input().split())) p1=sum(a) p2=sum(a[i]*i for i in range(n+1)) print(["No","Yes"][a[1]>=2 and p2<=2*(p1-1)])