結果

問題 No.3072 Sum of sqrt(x)
ユーザー trineutrontrineutron
提出日時 2020-06-09 16:40:14
言語 Fortran
(gFortran 13.2.0)
結果
TLE  
実行時間 -
コード長 237 bytes
コンパイル時間 2,800 ms
コンパイル使用メモリ 25,960 KB
実行使用メモリ 5,056 KB
最終ジャッジ日時 2023-09-16 09:58:52
合計ジャッジ時間 72,637 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,380 KB
testcase_01 AC 1 ms
4,376 KB
testcase_02 AC 1 ms
4,380 KB
testcase_03 AC 1 ms
4,380 KB
testcase_04 AC 1 ms
4,380 KB
testcase_05 AC 1 ms
4,380 KB
testcase_06 AC 2 ms
4,380 KB
testcase_07 TLE -
testcase_08 AC 1,204 ms
4,380 KB
testcase_09 AC 1,667 ms
4,380 KB
testcase_10 AC 1,931 ms
4,380 KB
testcase_11 TLE -
testcase_12 TLE -
testcase_13 TLE -
testcase_14 TLE -
testcase_15 TLE -
testcase_16 TLE -
testcase_17 TLE -
testcase_18 TLE -
testcase_19 TLE -
testcase_20 TLE -
testcase_21 TLE -
testcase_22 TLE -
testcase_23 TLE -
testcase_24 TLE -
testcase_25 TLE -
testcase_26 TLE -
testcase_27 TLE -
testcase_28 TLE -
testcase_29 TLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

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