結果

問題 No.191 供託金
ユーザー regeregeregerege
提出日時 2017-04-16 15:37:15
言語 F#
(.NET 7)
結果
AC  
実行時間 88 ms / 5,000 ms
コード長 175 bytes
コンパイル時間 5,205 ms
コンパイル使用メモリ 155,172 KB
実行使用メモリ 25,012 KB
最終ジャッジ日時 2023-09-26 09:01:56
合計ジャッジ時間 8,651 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 87 ms
24,928 KB
testcase_01 AC 87 ms
24,976 KB
testcase_02 AC 86 ms
22,920 KB
testcase_03 AC 88 ms
24,844 KB
testcase_04 AC 87 ms
22,988 KB
testcase_05 AC 88 ms
22,932 KB
testcase_06 AC 88 ms
24,872 KB
testcase_07 AC 87 ms
20,948 KB
testcase_08 AC 85 ms
22,912 KB
testcase_09 AC 86 ms
22,920 KB
testcase_10 AC 84 ms
20,852 KB
testcase_11 AC 87 ms
22,872 KB
testcase_12 AC 85 ms
20,848 KB
testcase_13 AC 86 ms
24,920 KB
testcase_14 AC 86 ms
24,904 KB
testcase_15 AC 87 ms
22,920 KB
testcase_16 AC 87 ms
22,912 KB
testcase_17 AC 87 ms
22,880 KB
testcase_18 AC 86 ms
22,928 KB
testcase_19 AC 86 ms
22,924 KB
testcase_20 AC 87 ms
22,912 KB
testcase_21 AC 84 ms
20,856 KB
testcase_22 AC 85 ms
22,812 KB
testcase_23 AC 86 ms
25,012 KB
testcase_24 AC 87 ms
22,864 KB
testcase_25 AC 84 ms
24,904 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let _ = stdin.ReadLine()
let arr = stdin.ReadLine().Split(' ') |> Array.map int
let b = Array.sum arr / 10
arr |> Array.filter((>=)b) |> Array.length |> (*) 30
|> printfn "%d"
0