結果
問題 | No.81 すべて足すだけの簡単なお仕事です。 |
ユーザー |
|
提出日時 | 2016-04-06 13:08:57 |
言語 | Haskell (9.10.1) |
結果 |
AC
|
実行時間 | 4 ms / 5,000 ms |
コード長 | 195 bytes |
コンパイル時間 | 6,143 ms |
コンパイル使用メモリ | 177,024 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-22 16:32:27 |
合計ジャッジ時間 | 7,161 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 30 |
コンパイルメッセージ
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: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
ソースコード
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