結果
| 問題 | No.138 化石のバージョン |
| コンテスト | |
| ユーザー |
aimy
|
| 提出日時 | 2017-05-03 14:23:11 |
| 言語 | Haskell (9.10.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 227 bytes |
| コンパイル時間 | 1,713 ms |
| コンパイル使用メモリ | 175,488 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-14 07:04:42 |
| 合計ジャッジ時間 | 2,674 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 29 WA * 4 |
コンパイルメッセージ
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
ソースコード
import Data.Bool main = do a0 <- map read . words . map (\c -> if c=='.' then ' ' else c) <$> getLine :: IO [Int] a1 <- map read . words . map (\c -> if c=='.' then ' ' else c) <$> getLine putStrLn $ bool "NO" "YES" (a0>a1)
aimy