結果
問題 | No.9003 小数誤差テスト(テスト用) |
ユーザー | kroton |
提出日時 | 2014-10-28 14:56:51 |
言語 | Haskell (9.8.2) |
結果 |
AC
|
実行時間 | 3 ms / 5,000 ms |
コード長 | 108 bytes |
コンパイル時間 | 7,620 ms |
コンパイル使用メモリ | 158,600 KB |
実行使用メモリ | 7,772 KB |
最終ジャッジ日時 | 2023-09-20 21:11:16 |
合計ジャッジ時間 | 1,611 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 3 ms
7,536 KB |
testcase_01 | AC | 2 ms
7,444 KB |
testcase_02 | AC | 3 ms
7,448 KB |
testcase_03 | AC | 3 ms
7,472 KB |
testcase_04 | AC | 3 ms
7,772 KB |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.6.1/environments/default [1 of 2] Compiling Main ( Main.hs, Main.o ) Main.hs:4:1: warning: [GHC-94817] [-Wtabs] Tab character found here, and in one further location. Suggested fix: Please use spaces instead. | 4 | n <- fmap (read :: String -> Double) getLine | ^^^^^^^^ [2 of 2] Linking a.out
ソースコード
import Text.Printf main = do n <- fmap (read :: String -> Double) getLine printf "decimal\n%.15f\n" n