結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー Nobita GomuNobita Gomu
提出日時 2017-10-18 16:38:23
言語 F#
(F# 4.0)
結果
AC  
実行時間 102 ms / 5,000 ms
コード長 151 bytes
コンパイル時間 4,630 ms
コンパイル使用メモリ 153,880 KB
実行使用メモリ 25,060 KB
最終ジャッジ日時 2023-09-29 22:43:06
合計ジャッジ時間 8,359 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
24,868 KB
testcase_01 AC 85 ms
22,828 KB
testcase_02 AC 102 ms
24,920 KB
testcase_03 AC 81 ms
25,060 KB
testcase_04 AC 82 ms
20,800 KB
testcase_05 AC 82 ms
22,864 KB
testcase_06 AC 84 ms
20,832 KB
testcase_07 AC 89 ms
24,980 KB
testcase_08 AC 81 ms
22,864 KB
testcase_09 AC 79 ms
22,896 KB
testcase_10 AC 81 ms
25,040 KB
testcase_11 AC 81 ms
22,920 KB
testcase_12 AC 84 ms
20,776 KB
testcase_13 AC 81 ms
23,012 KB
testcase_14 AC 79 ms
22,816 KB
testcase_15 AC 80 ms
24,932 KB
testcase_16 AC 82 ms
22,864 KB
testcase_17 AC 82 ms
22,988 KB
testcase_18 AC 84 ms
20,832 KB
testcase_19 AC 81 ms
25,008 KB
testcase_20 AC 81 ms
22,940 KB
testcase_21 AC 82 ms
22,868 KB
testcase_22 AC 83 ms
22,888 KB
testcase_23 AC 84 ms
20,788 KB
testcase_24 AC 83 ms
20,880 KB
testcase_25 AC 81 ms
24,964 KB
testcase_26 AC 83 ms
22,972 KB
testcase_27 AC 83 ms
22,912 KB
testcase_28 AC 79 ms
24,976 KB
testcase_29 AC 80 ms
20,836 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

seq {
    let n = stdin.ReadLine () |> int
    for _ in 1..n -> stdin.ReadLine () |> decimal
} |> Seq.sum |> fun n -> n.ToString("F10") |> printfn "%s"
0