結果

問題 No.8072 Sum of sqrt(x)
ユーザー trineutron
提出日時 2020-06-09 16:36:04
言語 Fortran
(gFortran 14.2.0)
結果
TLE  
実行時間 -
コード長 240 bytes
コンパイル時間 1,584 ms
コンパイル使用メモリ 30,208 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-03 11:08:28
合計ジャッジ時間 70,853 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6 TLE * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

program main
    implicit none
    integer(8) :: i, n
    real(16) :: s = 0, x
    real(8) :: ans
    read *, n
    do i = 1, n
        read *, x
        s = s + sqrt(x)
        ans = s
        print '(g0)', ans
    end do
end program main
0