結果
問題 | No.175 simpleDNA |
ユーザー | regerege |
提出日時 | 2016-10-02 05:16:01 |
言語 | F# (F# 4.0) |
結果 |
AC
|
実行時間 | 342 ms / 1,000 ms |
コード長 | 196 bytes |
コンパイル時間 | 6,679 ms |
コンパイル使用メモリ | 184,384 KB |
実行使用メモリ | 34,888 KB |
最終ジャッジ日時 | 2024-05-01 09:30:56 |
合計ジャッジ時間 | 11,015 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 342 ms
33,968 KB |
testcase_01 | AC | 336 ms
33,716 KB |
testcase_02 | AC | 342 ms
34,232 KB |
testcase_03 | AC | 338 ms
34,780 KB |
testcase_04 | AC | 335 ms
34,352 KB |
testcase_05 | AC | 337 ms
34,888 KB |
testcase_06 | AC | 340 ms
34,652 KB |
testcase_07 | AC | 339 ms
34,784 KB |
testcase_08 | AC | 339 ms
34,756 KB |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (227 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 L = stdin.ReadLine() |> int let N = stdin.ReadLine() |> int let _ = stdin.ReadLine() let l = L/3-1 let f n = [1..n] |> List.fold (fun s _ -> s*8) 1 if l = 0 then N else f l * N |> printfn "%d"