結果
| 問題 | No.47 ポケットを叩くとビスケットが2倍 |
| コンテスト | |
| ユーザー |
NaruY
|
| 提出日時 | 2016-10-24 02:24:40 |
| 言語 | Haskell (9.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 169 bytes |
| 記録 | |
| コンパイル時間 | 2,741 ms |
| コンパイル使用メモリ | 198,912 KB |
| 実行使用メモリ | 45,544 KB |
| 最終ジャッジ日時 | 2026-05-17 22:44:35 |
| 合計ジャッジ時間 | 15,697 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 3 |
| other | TLE * 1 -- * 20 |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.14.1/environments/default [1 of 2] Compiling Main ( Main.hs, Main.o ) [2 of 2] Linking a.out
ソースコード
import Control.Monad
import Control.Applicative
import Data.List
main = do
n <- readLn
print (ans n)
ans n = minimum [k | k <- [1..2^n] , n <= 2^(k-1)]
NaruY