結果
| 問題 | No.378 名声値を稼ごう |
| コンテスト | |
| ユーザー |
nobigomu
|
| 提出日時 | 2018-06-03 23:47:04 |
| 言語 | F# (F# 10.0) |
| 結果 |
AC
|
| 実行時間 | 208 ms / 2,000 ms |
| コード長 | 188 bytes |
| 記録 | |
| コンパイル時間 | 5,313 ms |
| コンパイル使用メモリ | 205,124 KB |
| 実行使用メモリ | 36,680 KB |
| 最終ジャッジ日時 | 2026-03-20 06:03:30 |
| 合計ジャッジ時間 | 6,918 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 5 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (157 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.0/publish/
ソースコード
let f a = a/2L let g a = (2L*(f a)+a) let rec h a b c = if a<>0L then h (f a) (b + (f a)) (max c (g a)) else abs (c-b) (stdin.ReadLine >> int64 >> fun n -> h n n (2L*n)) () |> printfn "%d"
nobigomu