結果

問題 No.219 巨大数の概算
ユーザー HaarHaar
提出日時 2016-04-17 20:52:37
言語 Haskell
(9.8.2)
結果
AC  
実行時間 72 ms / 1,500 ms
コード長 248 bytes
コンパイル時間 4,520 ms
コンパイル使用メモリ 158,024 KB
実行使用メモリ 11,676 KB
最終ジャッジ日時 2023-09-25 15:23:27
合計ジャッジ時間 10,822 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
11,460 KB
testcase_01 AC 63 ms
11,476 KB
testcase_02 AC 62 ms
11,464 KB
testcase_03 AC 62 ms
11,468 KB
testcase_04 AC 62 ms
11,572 KB
testcase_05 AC 3 ms
7,364 KB
testcase_06 AC 12 ms
11,464 KB
testcase_07 AC 2 ms
7,172 KB
testcase_08 AC 12 ms
11,464 KB
testcase_09 AC 3 ms
7,300 KB
testcase_10 AC 62 ms
11,488 KB
testcase_11 AC 62 ms
11,492 KB
testcase_12 AC 72 ms
11,532 KB
testcase_13 AC 63 ms
11,552 KB
testcase_14 AC 62 ms
11,556 KB
testcase_15 AC 62 ms
11,524 KB
testcase_16 AC 62 ms
11,460 KB
testcase_17 AC 63 ms
11,488 KB
testcase_18 AC 62 ms
11,528 KB
testcase_19 AC 62 ms
11,532 KB
testcase_20 AC 62 ms
11,580 KB
testcase_21 AC 63 ms
11,664 KB
testcase_22 AC 62 ms
11,628 KB
testcase_23 AC 63 ms
11,576 KB
testcase_24 AC 62 ms
11,484 KB
testcase_25 AC 62 ms
11,600 KB
testcase_26 AC 62 ms
11,604 KB
testcase_27 AC 62 ms
11,556 KB
testcase_28 AC 63 ms
11,484 KB
testcase_29 AC 62 ms
11,444 KB
testcase_30 AC 62 ms
11,488 KB
testcase_31 AC 62 ms
11,520 KB
testcase_32 AC 62 ms
11,572 KB
testcase_33 AC 62 ms
11,484 KB
testcase_34 AC 72 ms
11,556 KB
testcase_35 AC 62 ms
11,468 KB
testcase_36 AC 62 ms
11,492 KB
testcase_37 AC 62 ms
11,556 KB
testcase_38 AC 62 ms
11,576 KB
testcase_39 AC 63 ms
11,464 KB
testcase_40 AC 62 ms
11,588 KB
testcase_41 AC 63 ms
11,500 KB
testcase_42 AC 62 ms
11,676 KB
testcase_43 AC 62 ms
11,520 KB
testcase_44 AC 62 ms
11,620 KB
testcase_45 AC 62 ms
11,484 KB
testcase_46 AC 63 ms
11,540 KB
testcase_47 AC 62 ms
11,460 KB
testcase_48 AC 62 ms
11,536 KB
testcase_49 AC 62 ms
11,444 KB
testcase_50 AC 62 ms
11,552 KB
testcase_51 AC 3 ms
7,324 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 )
[2 of 2] Linking a.out

ソースコード

diff #

main = getLine >> getContents >>= mapM_ putStrLn . map ((\(a:b:_) -> let t = b * logBase 10 a; z = floor t; w = 10 ** (t - (fromIntegral z)); x = floor w; y = floor (10 * w) `mod` 10 in (unwords . map show) [x, y, z] ) . (map read . words)) . lines
0