結果
問題 |
No.47 ポケットを叩くとビスケットが2倍
|
ユーザー |
|
提出日時 | 2023-07-06 18:33:41 |
言語 | Haskell (9.10.1) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 80 bytes |
コンパイル時間 | 9,634 ms |
コンパイル使用メモリ | 172,160 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-20 13:58:29 |
合計ジャッジ時間 | 10,665 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.8.2/environments/default [1 of 2] Compiling Main ( Main.hs, Main.o ) Main.hs:3:1: warning: [GHC-94817] [-Wtabs] Tab character found here, and in one further location. Suggested fix: Please use spaces instead. | 3 | n <- read `fmap` getLine | ^^^^^^^^ [2 of 2] Linking a.out
ソースコード
main :: IO () main = do n <- read `fmap` getLine print $ ceiling $ logBase 2 n