結果
| 問題 | No.570 3人兄弟(その1) | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2017-11-10 19:59:53 | 
| 言語 | Haskell (9.10.1) | 
| 結果 | 
                                WA
                                 
                            (最新) 
                                AC
                                 
                            (最初) | 
| 実行時間 | - | 
| コード長 | 429 bytes | 
| コンパイル時間 | 2,539 ms | 
| コンパイル使用メモリ | 175,360 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-11-24 12:06:31 | 
| 合計ジャッジ時間 | 2,445 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | WA * 2 | 
| other | WA * 5 | 
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.8.2/environments/default [1 of 2] Compiling Main ( Main.hs, Main.o ) [2 of 2] Linking a.out
ソースコード
-- yukicoder My Practice -- author: Leonardone @ NEETSDKASU main = putStrLn . unlines . map snd . foldl1 (flip ((zip [0 .. ] .) . map . (maybe "" id .) . (. fst) . flip lookup)) . zipWith ($) [(`zip` ["X", "Y", "Z"]) . zipWith ($) [(!! 1), foldl1 (-) ,(!! 2)] . replicate 3 . zipWith ($) [sum, maximum, minimum] . replicate 3 . map fst, id] . replicate 2 . (`zip` ["A", "B", "C"]) . map ((+ 0) . read) . words =<< getContents
