結果

問題 No.480 合計
ユーザー Yuki
提出日時 2020-12-20 21:16:36
言語 F#
(F# 4.0)
結果
AC  
実行時間 59 ms / 2,000 ms
コード長 170 bytes
コンパイル時間 7,867 ms
コンパイル使用メモリ 186,436 KB
実行使用メモリ 31,104 KB
最終ジャッジ日時 2024-09-21 12:12:12
合計ジャッジ時間 8,357 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 22
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (284 ms)。
MSBuild のバージョン 17.9.6+a4ecab324 (.NET)
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

diff #

open System

[<EntryPoint>]
let main argv =
    let input = stdin.ReadLine()
    let n = Int32.Parse input
    let sum = List.sum [1 .. n]
    Console.WriteLine sum
    0
0