結果

問題 No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー taktak
提出日時 2018-04-27 14:25:32
言語 F#
(F# 4.0)
結果
AC  
実行時間 278 ms / 2,000 ms
コード長 107 bytes
コンパイル時間 5,999 ms
コンパイル使用メモリ 154,192 KB
実行使用メモリ 55,940 KB
最終ジャッジ日時 2023-09-10 06:09:09
合計ジャッジ時間 10,168 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 85 ms
24,756 KB
testcase_01 AC 87 ms
20,776 KB
testcase_02 AC 87 ms
24,860 KB
testcase_03 AC 85 ms
22,812 KB
testcase_04 AC 87 ms
22,684 KB
testcase_05 AC 86 ms
22,780 KB
testcase_06 AC 94 ms
25,244 KB
testcase_07 AC 101 ms
24,464 KB
testcase_08 AC 132 ms
29,412 KB
testcase_09 AC 140 ms
32,228 KB
testcase_10 AC 241 ms
49,192 KB
testcase_11 AC 248 ms
49,836 KB
testcase_12 AC 248 ms
50,204 KB
testcase_13 AC 254 ms
50,996 KB
testcase_14 AC 255 ms
51,328 KB
testcase_15 AC 260 ms
55,940 KB
testcase_16 AC 278 ms
50,176 KB
testcase_17 AC 84 ms
22,900 KB
testcase_18 AC 85 ms
22,824 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let N = stdin.ReadLine()
let A = stdin.ReadLine().Split() |> Array.map int64
A |> Array.sum |> printfn "%i"
0