結果

問題 No.3072 Sum of sqrt(x)
ユーザー trineutrontrineutron
提出日時 2020-06-09 16:36:04
言語 Fortran
(gFortran 13.2.0)
結果
TLE  
実行時間 -
コード長 240 bytes
コンパイル時間 313 ms
コンパイル使用メモリ 25,700 KB
実行使用メモリ 5,072 KB
最終ジャッジ日時 2023-09-16 10:00:54
合計ジャッジ時間 33,291 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
5,060 KB
testcase_01 AC 1 ms
4,376 KB
testcase_02 AC 1 ms
4,380 KB
testcase_03 AC 2 ms
4,376 KB
testcase_04 AC 1 ms
4,376 KB
testcase_05 AC 1 ms
4,376 KB
testcase_06 AC 1 ms
4,380 KB
testcase_07 TLE -
testcase_08 AC 1,305 ms
4,376 KB
testcase_09 AC 1,956 ms
5,072 KB
testcase_10 TLE -
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 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
権限があれば一括ダウンロードができます

ソースコード

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