結果
問題 | No.2314 Backflip |
ユーザー |
|
提出日時 | 2023-07-09 21:05:30 |
言語 | Haskell (9.10.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 249 bytes |
コンパイル時間 | 9,233 ms |
コンパイル使用メモリ | 174,036 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-23 18:39:50 |
合計ジャッジ時間 | 6,571 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 8 |
コンパイルメッセージ
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 Control.Applicative main :: IO () main = solve <$> f >>= putStrLn where f = map read <$> words <$> getLine solve :: [Int] -> String solve [h, m] | t < 450 = "Yes" | t < 510 = "Late" | otherwise = "No" where t = h * 60 + m