結果

問題 No.601 Midpoint Erase
ユーザー pekempeypekempey
提出日時 2017-12-01 00:17:53
言語 Haskell
(9.8.2)
結果
AC  
実行時間 762 ms / 2,000 ms
コード長 208 bytes
コンパイル時間 8,478 ms
コンパイル使用メモリ 158,308 KB
実行使用メモリ 64,752 KB
最終ジャッジ日時 2023-08-24 18:33:40
合計ジャッジ時間 11,017 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
7,648 KB
testcase_01 AC 4 ms
8,136 KB
testcase_02 AC 3 ms
7,396 KB
testcase_03 AC 482 ms
44,260 KB
testcase_04 AC 542 ms
48,852 KB
testcase_05 AC 391 ms
38,124 KB
testcase_06 AC 213 ms
25,828 KB
testcase_07 AC 523 ms
46,300 KB
testcase_08 AC 443 ms
41,204 KB
testcase_09 AC 533 ms
47,356 KB
testcase_10 AC 113 ms
18,876 KB
testcase_11 AC 762 ms
64,752 KB
testcase_12 AC 342 ms
36,120 KB
testcase_13 AC 3 ms
7,284 KB
testcase_14 AC 3 ms
7,312 KB
testcase_15 AC 3 ms
7,528 KB
testcase_16 AC 3 ms
7,880 KB
testcase_17 AC 2 ms
7,292 KB
testcase_18 AC 4 ms
8,028 KB
testcase_19 AC 4 ms
8,152 KB
testcase_20 AC 3 ms
7,952 KB
testcase_21 AC 3 ms
7,828 KB
testcase_22 AC 3 ms
7,888 KB
testcase_23 AC 3 ms
7,568 KB
testcase_24 AC 2 ms
7,600 KB
testcase_25 AC 4 ms
7,804 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

ソースコード

diff #

import Data.List
import Data.Bool

main = getLine >> getContents >>= putStrLn . bool "Alice" "Bob" . even . sum . map (flip div 2) . map length . group . sort . map (map (`mod` 2) . map read . words) . lines
0