結果

問題 No.45 回転寿司
ユーザー regeregeregerege
提出日時 2015-10-13 21:35:25
言語 F#
(F# 4.0)
結果
AC  
実行時間 95 ms / 5,000 ms
コード長 169 bytes
コンパイル時間 5,764 ms
コンパイル使用メモリ 153,024 KB
実行使用メモリ 25,440 KB
最終ジャッジ日時 2023-08-27 14:24:15
合計ジャッジ時間 7,670 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 94 ms
23,192 KB
testcase_01 AC 94 ms
23,296 KB
testcase_02 AC 94 ms
21,192 KB
testcase_03 AC 94 ms
23,320 KB
testcase_04 AC 95 ms
25,204 KB
testcase_05 AC 87 ms
23,092 KB
testcase_06 AC 93 ms
23,280 KB
testcase_07 AC 93 ms
21,280 KB
testcase_08 AC 92 ms
23,260 KB
testcase_09 AC 94 ms
23,148 KB
testcase_10 AC 94 ms
23,280 KB
testcase_11 AC 94 ms
25,220 KB
testcase_12 AC 94 ms
23,280 KB
testcase_13 AC 86 ms
23,128 KB
testcase_14 AC 86 ms
23,196 KB
testcase_15 AC 93 ms
23,260 KB
testcase_16 AC 92 ms
23,200 KB
testcase_17 AC 94 ms
21,144 KB
testcase_18 AC 93 ms
23,128 KB
testcase_19 AC 94 ms
23,308 KB
testcase_20 AC 88 ms
21,032 KB
testcase_21 AC 87 ms
23,016 KB
testcase_22 AC 89 ms
23,060 KB
testcase_23 AC 87 ms
23,060 KB
testcase_24 AC 88 ms
25,164 KB
testcase_25 AC 86 ms
22,932 KB
testcase_26 AC 95 ms
25,244 KB
testcase_27 AC 95 ms
25,264 KB
testcase_28 AC 94 ms
25,296 KB
testcase_29 AC 94 ms
23,276 KB
testcase_30 AC 94 ms
21,344 KB
testcase_31 AC 87 ms
22,928 KB
testcase_32 AC 87 ms
25,036 KB
testcase_33 AC 95 ms
25,440 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

    stdin.ReadLine() |> ignore
    stdin.ReadLine().Split([|' '|])
    |> Seq.map int
    |> Seq.fold (fun (a,b) n -> (max a (b+n)),a) (0,0)
    |> fst |> (printfn "%d")
0