結果

問題 No.182 新規性の虜
ユーザー Michae'GonMichae'Gon
提出日時 2015-04-18 01:55:33
言語 Haskell
(9.8.2)
結果
AC  
実行時間 352 ms / 5,000 ms
コード長 147 bytes
コンパイル時間 2,203 ms
コンパイル使用メモリ 156,912 KB
実行使用メモリ 39,784 KB
最終ジャッジ日時 2023-08-27 07:13:56
合計ジャッジ時間 5,263 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
7,008 KB
testcase_01 AC 3 ms
7,060 KB
testcase_02 AC 2 ms
7,020 KB
testcase_03 AC 2 ms
7,196 KB
testcase_04 AC 2 ms
7,180 KB
testcase_05 AC 2 ms
7,272 KB
testcase_06 AC 2 ms
7,168 KB
testcase_07 AC 2 ms
7,448 KB
testcase_08 AC 222 ms
36,696 KB
testcase_09 AC 352 ms
39,784 KB
testcase_10 AC 312 ms
39,600 KB
testcase_11 AC 242 ms
38,348 KB
testcase_12 AC 102 ms
21,492 KB
testcase_13 AC 2 ms
7,152 KB
testcase_14 AC 3 ms
7,324 KB
testcase_15 AC 2 ms
6,632 KB
testcase_16 AC 3 ms
7,184 KB
testcase_17 AC 3 ms
7,372 KB
testcase_18 AC 222 ms
28,756 KB
testcase_19 AC 152 ms
22,832 KB
testcase_20 AC 102 ms
19,592 KB
testcase_21 AC 282 ms
34,352 KB
testcase_22 AC 122 ms
22,364 KB
testcase_23 AC 3 ms
6,608 KB
testcase_24 AC 202 ms
38,016 KB
testcase_25 AC 122 ms
22,576 KB
testcase_26 AC 52 ms
16,732 KB
testcase_27 AC 2 ms
7,028 KB
evil01.txt AC 322 ms
55,456 KB
evil02.txt AC 321 ms
55,432 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

main = getLine >> getLine >>= print . length . filter (\x -> length x == 1) . group . sort . map (read :: String -> Int) . words
0