結果
問題 | No.146 試験監督(1) |
ユーザー | Kaito Udagawa |
提出日時 | 2015-02-08 23:48:07 |
言語 | Haskell (9.8.2) |
結果 |
WA
|
実行時間 | - |
コード長 | 278 bytes |
コンパイル時間 | 2,476 ms |
コンパイル使用メモリ | 162,600 KB |
実行使用メモリ | 19,204 KB |
最終ジャッジ日時 | 2023-09-05 12:30:56 |
合計ジャッジ時間 | 4,127 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
コンパイルメッセージ
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
ソースコード
import Data.Functor import Control.Monad import qualified Data.ByteString.Char8 as B import Data.Maybe readInts :: B.ByteString -> [Int] readInts s = fst <$> mapMaybe (B.readInt) (B.words s) main :: IO () main = (map readInts) <$> B.lines <$> B.getContents >>= putStrLn . show