結果

問題 No.648  お や す み 
ユーザー cande398
提出日時 2018-05-21 19:53:11
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 176 bytes
コンパイル時間 223 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 16,000 KB
最終ジャッジ日時 2024-06-28 15:32:52
合計ジャッジ時間 13,022 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 53 TLE * 2 -- * 29
権限があれば一括ダウンロードができます

ソースコード

diff #

i=1
x=int(input())
count=0
while True:
    count+=i
    if count>x:
        print('NO')
        exit()
    if count==x:
        print('YES',i,sep='\n')
        exit()
    i+=1
0