結果
| 問題 | No.570 3人兄弟(その1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-11-10 19:59:53 |
| 言語 | Haskell (9.14.1) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 429 bytes |
| 記録 | |
| コンパイル時間 | 4,127 ms |
| コンパイル使用メモリ | 194,432 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-18 11:58:40 |
| 合計ジャッジ時間 | 1,851 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 5 |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.14.1/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