結果

問題 No.3124 Twin
ユーザー Vicfred
提出日時 2025-04-26 06:14:02
言語 Haskell
(9.10.1)
結果
AC  
実行時間 3 ms / 1,000 ms
コード長 201 bytes
コンパイル時間 17,146 ms
コンパイル使用メモリ 190,592 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2025-04-26 06:14:21
合計ジャッジ時間 9,271 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 17
権限があれば一括ダウンロードができます
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.10.1/environments/default
[1 of 2] Compiling Main             ( Main.hs, Main.o )
[2 of 2] Linking a.out

ソースコード

diff #

-- vicfred
-- https://yukicoder.me/problems/no/3124
-- implementation
import Data.Bool (bool)

main :: IO ()
main = getLine >>= putStrLn . bool "No" "Yes" .(\[x, y] -> x == y) .map (read @Int) . words
0