結果

問題 No.648  お や す み 
ユーザー BQZetBQZet
提出日時 2018-04-03 04:52:41
言語 Fortran
(gFortran 14.2.0)
結果
AC  
実行時間 760 ms / 2,000 ms
コード長 185 bytes
コンパイル時間 1,548 ms
コンパイル使用メモリ 30,080 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-26 07:04:14
合計ジャッジ時間 20,012 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 84
権限があれば一括ダウンロードができます

ソースコード

diff #

integer(kind=8)::i=1,n,Mutton=0
read *,n

do while(Mutton<n)
 Mutton=Mutton+i
 i=i+1
end do

if(Mutton==n) then
 print *,"YES"
 print *,i-1
else
 print *,"NO"
end if

end
0