Submission #1833598
Source Code Expand
main = interact $ (++"\n") . snd . last . sortBy (\x y -> compare (fst x) (fst y)) . map (\x -> (length x, head x)) . group . sort . tail . lines
Submission Info
Submission Time | |
---|---|
Task | B - トリボナッチ数列 |
User | amanuko |
Language | Haskell (GHC 7.10.3) |
Score | 0 |
Code Size | 147 Byte |
Status | CE |
Compile Error
Main.hs:1:43: Not in scope: ‘sortBy’ Main.hs:1:119: Not in scope: ‘group’ Main.hs:1:127: Not in scope: ‘sort’ Perhaps you meant ‘sqrt’ (imported from Prelude)