結果
問題 | No.279 木の数え上げ |
ユーザー | momen999 |
提出日時 | 2017-06-09 12:34:33 |
言語 | Haskell (9.8.2) |
結果 |
WA
|
実行時間 | - |
コード長 | 190 bytes |
コンパイル時間 | 1,548 ms |
コンパイル使用メモリ | 163,840 KB |
実行使用メモリ | 60,052 KB |
最終ジャッジ日時 | 2023-10-23 20:34:56 |
合計ジャッジ時間 | 4,314 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 2 ms
4,984 KB |
testcase_01 | AC | 2 ms
4,936 KB |
testcase_02 | AC | 2 ms
4,984 KB |
testcase_03 | AC | 2 ms
4,940 KB |
testcase_04 | AC | 2 ms
4,912 KB |
testcase_05 | AC | 2 ms
4,972 KB |
testcase_06 | AC | 2 ms
4,920 KB |
testcase_07 | AC | 2 ms
4,932 KB |
testcase_08 | AC | 2 ms
4,988 KB |
testcase_09 | AC | 2 ms
4,908 KB |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | WA | - |
testcase_17 | WA | - |
testcase_18 | WA | - |
testcase_19 | WA | - |
testcase_20 | WA | - |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.6.2/environments/default [1 of 2] Compiling Main ( Main.hs, Main.o ) [2 of 2] Linking a.out
ソースコード
solve xs = foldr min 999 [t,r,e] where t = length $ filter (=='t') xs r = length $ filter (=='r') xs e = flip div 2 $ length $ filter (=='e') xs main = getLine >>= print . solve