結果
| 問題 | No.131 マンハッタン距離 |
| コンテスト | |
| ユーザー |
d_nishiyama85
|
| 提出日時 | 2015-06-09 08:29:19 |
| 言語 | Haskell (9.14.1) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 183 bytes |
| 記録 | |
| コンパイル時間 | 12,488 ms |
| コンパイル使用メモリ | 193,024 KB |
| 実行使用メモリ | 1,306,624 KB |
| 最終ジャッジ日時 | 2026-08-09 21:05:25 |
| 合計ジャッジ時間 | 14,457 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | MLE * 2 -- * 22 |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.14.1/environments/default [1 of 2] Compiling Main ( Main.hs, Main.o ) [2 of 2] Linking a.out
ソースコード
main = do cs <- getLine let [a, b, d] = map readInt $ words cs print $ length [(x, y) | x <- [0..abs(a)], y <- [0..abs(b)], x + y == d] readInt :: String -> Int readInt = read
d_nishiyama85