結果
問題 | No.734 Careful Engineer |
ユーザー |
|
提出日時 | 2018-09-28 21:32:58 |
言語 | Haskell (9.10.1) |
結果 |
RE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 263 bytes |
コンパイル時間 | 12,428 ms |
コンパイル使用メモリ | 177,896 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2025-01-18 00:03:58 |
合計ジャッジ時間 | 13,202 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 10 RE * 1 |
コンパイルメッセージ
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
ソースコード
importControl.Applicativemain::IO()main = solve <$> f >>= printwheref = map read <$> words <$> getLinesolve::Int->Intsolve [a, b, c]| z >= 1 = z| otherwise = -1wherex = 3600 * cy = 60 * a - bz = (x + y - 1) `div` y