結果

問題 No.480 合計
ユーザー ichibanshiboriichibanshibori
提出日時 2017-02-10 22:21:23
言語 F#
(F# 4.0)
結果
AC  
実行時間 83 ms / 2,000 ms
コード長 87 bytes
コンパイル時間 5,197 ms
コンパイル使用メモリ 154,348 KB
実行使用メモリ 24,952 KB
最終ジャッジ日時 2023-08-21 01:28:45
合計ジャッジ時間 6,630 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
22,972 KB
testcase_01 AC 82 ms
24,908 KB
testcase_02 AC 82 ms
24,836 KB
testcase_03 AC 81 ms
23,036 KB
testcase_04 AC 83 ms
24,884 KB
testcase_05 AC 82 ms
22,920 KB
testcase_06 AC 82 ms
23,004 KB
testcase_07 AC 82 ms
24,952 KB
testcase_08 AC 82 ms
24,952 KB
testcase_09 AC 82 ms
22,904 KB
testcase_10 AC 82 ms
23,040 KB
testcase_11 AC 82 ms
22,860 KB
testcase_12 AC 81 ms
22,968 KB
testcase_13 AC 80 ms
20,888 KB
testcase_14 AC 82 ms
24,904 KB
testcase_15 AC 80 ms
23,024 KB
testcase_16 AC 81 ms
22,980 KB
testcase_17 AC 81 ms
22,868 KB
testcase_18 AC 81 ms
24,940 KB
testcase_19 AC 81 ms
23,056 KB
testcase_20 AC 81 ms
23,012 KB
testcase_21 AC 81 ms
24,892 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let () =
    let n = stdin.ReadLine() |> int

    seq {1..n} |> Seq.sum |> printfn "%d"
0