結果
問題 | No.191 供託金 |
ユーザー |
![]() |
提出日時 | 2019-03-27 23:42:15 |
言語 | F# (F# 4.0) |
結果 |
AC
|
実行時間 | 62 ms / 5,000 ms |
コード長 | 269 bytes |
コンパイル時間 | 7,484 ms |
コンパイル使用メモリ | 186,388 KB |
実行使用メモリ | 29,440 KB |
最終ジャッジ日時 | 2024-10-11 06:16:18 |
合計ジャッジ時間 | 9,564 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 23 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (255 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/
ソースコード
let ``No.191 供託金``() = let n = stdin.ReadLine() |> int stdin.ReadLine().Split(' ') |> Array.map (int) |> fun args -> args |> Array.sumBy (fun n -> if (n*10) <= (args |> Array.sum) then 30 else 0 ) |> stdout.WriteLine ``No.191 供託金``()