結果
問題 | No.99 ジャンピング駒 |
ユーザー | aimy |
提出日時 | 2017-04-29 17:57:43 |
言語 | Haskell (9.8.2) |
結果 |
AC
|
実行時間 | 423 ms / 5,000 ms |
コード長 | 137 bytes |
コンパイル時間 | 2,948 ms |
コンパイル使用メモリ | 158,088 KB |
実行使用メモリ | 60,584 KB |
最終ジャッジ日時 | 2023-10-11 23:06:39 |
合計ジャッジ時間 | 6,888 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 423 ms
60,560 KB |
testcase_01 | AC | 422 ms
60,560 KB |
testcase_02 | AC | 423 ms
60,580 KB |
testcase_03 | AC | 422 ms
60,560 KB |
testcase_04 | AC | 422 ms
60,584 KB |
testcase_05 | AC | 422 ms
60,316 KB |
コンパイルメッセージ
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 Data.List main = do getLine xs <- map read . words <$> getLine let (o,e) = partition odd xs print $ abs (length o - length e)