結果
| 問題 | No.739 大事なことなので2度言います |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-10-05 21:27:21 |
| 言語 | Haskell (9.14.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 858µs | |
| コード長 | 250 bytes |
| 記録 | |
| コンパイル時間 | 5,853 ms |
| コンパイル使用メモリ | 196,608 KB |
| 実行使用メモリ | 9,900 KB |
| 最終ジャッジ日時 | 2026-09-27 02:46:39 |
| 合計ジャッジ時間 | 7,536 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 7 |
コンパイルメッセージ
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
ソースコード
import Control.Applicative
import Data.Bool (bool)
main :: IO ()
main = solve <$> getLine >>= putStrLn
solve :: String -> String
solve xs = let l = length xs
(as, bs) = splitAt (l `div` 2) xs
in bool "NO" "YES" $ as == bs