結果
問題 | No.296 n度寝 |
ユーザー |
|
提出日時 | 2016-04-16 20:57:40 |
言語 | Haskell (9.10.1) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 167 bytes |
コンパイル時間 | 8,971 ms |
コンパイル使用メモリ | 176,128 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-07 02:46:04 |
合計ジャッジ時間 | 9,267 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 16 |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.8.2/environments/default [1 of 2] Compiling Main ( Main.hs, Main.o ) Main.hs:2:1: warning: [GHC-94817] [-Wtabs] Tab character found here, and in one further location. Suggested fix: Please use spaces instead. | 2 | [n, h, m, t] <- getLine >>= return . map read . words | ^^^^^^^^ [2 of 2] Linking a.out
ソースコード
main = do [n, h, m, t] <- getLine >>= return . map read . words mapM_ putStrLn $ (\x -> [show(x`div`60),show(x`mod`60)]) $ (h * 60 + m + t * (n - 1)) `mod` (24 * 60)