結果
問題 |
No.513 宝探し2
|
ユーザー |
![]() |
提出日時 | 2017-05-05 23:23:33 |
言語 | Haskell (9.10.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 288 bytes |
コンパイル時間 | 4,160 ms |
コンパイル使用メモリ | 173,696 KB |
実行使用メモリ | 25,476 KB |
平均クエリ数 | 2.92 |
最終ジャッジ日時 | 2024-07-16 13:26:52 |
合計ジャッジ時間 | 7,054 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 WA * 9 RE * 1 |
コンパイルメッセージ
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 System.IO main = main' (0,0) where main' (x,y) = do putStrLn (unwords (map show [x,y])) hFlush stdout m <- readLn putStrLn (unwords (map show [m,0])) hFlush stdout mx <- readLn putStrLn (unwords (map show [m - div (mx-1) 2, div (mx-1) 2])) hFlush stdout