結果
| 問題 | No.111 あばばばば |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-12-12 05:55:16 |
| 言語 | OCaml (5.5.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 5,000 ms |
| + 177µs | |
| コード長 | 186 bytes |
| 記録 | |
| コンパイル時間 | 103 ms |
| コンパイル使用メモリ | 21,312 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-09-12 07:08:46 |
| 合計ジャッジ時間 | 1,270 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
コンパイルメッセージ
ocamlfind: [WARNING] Cannot read directory ./stublibs which is mentioned in ld.conf
ソースコード
let solve n = let x = (n - 3) / 2 + 1 in let y = 1 + 2 * (x - 1) in (1 + y) * x / 2 let () = let l = read_line () |> int_of_string in solve l |> string_of_int |> print_endline