結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー HaarHaar
提出日時 2016-04-06 13:08:57
言語 Haskell
(9.8.2)
結果
AC  
実行時間 4 ms / 5,000 ms
コード長 195 bytes
コンパイル時間 1,313 ms
コンパイル使用メモリ 158,768 KB
実行使用メモリ 8,932 KB
最終ジャッジ日時 2023-09-29 22:32:59
合計ジャッジ時間 2,597 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
7,612 KB
testcase_01 AC 2 ms
7,644 KB
testcase_02 AC 3 ms
7,756 KB
testcase_03 AC 3 ms
7,584 KB
testcase_04 AC 3 ms
8,488 KB
testcase_05 AC 2 ms
8,108 KB
testcase_06 AC 3 ms
8,408 KB
testcase_07 AC 3 ms
8,684 KB
testcase_08 AC 3 ms
8,668 KB
testcase_09 AC 4 ms
8,932 KB
testcase_10 AC 2 ms
7,576 KB
testcase_11 AC 3 ms
7,920 KB
testcase_12 AC 3 ms
7,856 KB
testcase_13 AC 2 ms
7,584 KB
testcase_14 AC 3 ms
7,516 KB
testcase_15 AC 3 ms
8,276 KB
testcase_16 AC 2 ms
7,576 KB
testcase_17 AC 3 ms
7,604 KB
testcase_18 AC 3 ms
8,440 KB
testcase_19 AC 3 ms
7,832 KB
testcase_20 AC 3 ms
7,736 KB
testcase_21 AC 2 ms
7,640 KB
testcase_22 AC 3 ms
7,964 KB
testcase_23 AC 4 ms
8,464 KB
testcase_24 AC 3 ms
7,980 KB
testcase_25 AC 2 ms
7,712 KB
testcase_26 AC 2 ms
7,632 KB
testcase_27 AC 2 ms
7,800 KB
testcase_28 AC 2 ms
7,604 KB
testcase_29 AC 3 ms
7,952 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 two further locations.
    Suggested fix: Please use spaces instead.
  |
4 |         resolution _ = 10 ^ 10
  | ^^^^^^^^
[2 of 2] Linking a.out

ソースコード

diff #

import Data.Fixed
data E10 = E10
instance HasResolution E10 where
	resolution _ = 10 ^ 10
type E10' = Fixed E10

main = do
	getLine
	getContents >>= print . sum . map (read::String->E10') . lines
0