結果

問題 No.2836 Comment Out
ユーザー titia
提出日時 2024-08-09 22:04:24
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 155 bytes
コンパイル時間 98 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 32,988 KB
最終ジャッジ日時 2024-08-09 22:04:31
合計ジャッジ時間 5,097 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 33 WA * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

N=int(input())
A=list(map(int,input().split()))

S=N*(N+1)//2

if sum(A)<=S:
    print("Yes")
else:
    print("No")
0