結果
問題 | No.513 宝探し2 |
ユーザー | aimy |
提出日時 | 2017-05-05 23:23:33 |
言語 | Haskell (9.8.2) |
結果 |
WA
|
実行時間 | - |
コード長 | 288 bytes |
コンパイル時間 | 691 ms |
コンパイル使用メモリ | 157,056 KB |
実行使用メモリ | 24,420 KB |
平均クエリ数 | 2.92 |
最終ジャッジ日時 | 2023-09-23 13:48:49 |
合計ジャッジ時間 | 3,523 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | AC | 23 ms
23,592 KB |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | RE | - |
testcase_09 | AC | 22 ms
23,280 KB |
testcase_10 | WA | - |
testcase_11 | WA | - |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.6.1/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