結果

問題 No.480 合計
ユーザー Michae'GonMichae'Gon
提出日時 2017-02-18 20:46:17
言語 F#
(F# 4.0)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 123 bytes
コンパイル時間 3,500 ms
コンパイル使用メモリ 166,288 KB
実行使用メモリ 24,432 KB
最終ジャッジ日時 2023-08-21 01:36:31
合計ジャッジ時間 5,996 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 60 ms
24,360 KB
testcase_01 AC 61 ms
24,432 KB
testcase_02 AC 59 ms
24,392 KB
testcase_03 AC 59 ms
22,468 KB
testcase_04 AC 59 ms
22,400 KB
testcase_05 AC 59 ms
22,328 KB
testcase_06 AC 59 ms
22,324 KB
testcase_07 AC 60 ms
24,308 KB
testcase_08 AC 59 ms
22,456 KB
testcase_09 AC 61 ms
22,336 KB
testcase_10 AC 59 ms
22,384 KB
testcase_11 AC 59 ms
22,412 KB
testcase_12 AC 59 ms
24,236 KB
testcase_13 AC 60 ms
22,400 KB
testcase_14 AC 60 ms
22,316 KB
testcase_15 AC 59 ms
22,276 KB
testcase_16 AC 59 ms
22,264 KB
testcase_17 AC 59 ms
22,308 KB
testcase_18 AC 59 ms
22,336 KB
testcase_19 AC 59 ms
24,304 KB
testcase_20 AC 59 ms
24,352 KB
testcase_21 AC 59 ms
20,368 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

module Main
open System

let n = Console.ReadLine().Split(' ').[0] |> int

[1..n]
    |> List.sum
    |> Console.WriteLine
0