Browse Source

output fix

adaptedStrategy0
Slash 9 years ago
parent
commit
29c672bdb5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Main0.hs

+ 1
- 1
src/Main0.hs View File

@ -44,7 +44,7 @@ packAll id seeds commandLists = zipWith (\x y -> JSONSer id x "lilik0" y) seeds
scoredata :: Int -> [Int] -> [Int] -> String
scoredata id seeds points = pretty
where
pretty = foldl (\x (a,b,c) -> (show a) ++ " " ++ (show b) ++ (show c) ++ "\n" ++ x) "" zipdata
pretty = foldl (\x (a,b,c) -> (show a) ++ " " ++ (show b) ++ " " ++ (show c) ++ "\n" ++ x) "" zipdata
zipdata = zip3 ids seeds points
ids = replicate (length seeds) id

Loading…
Cancel
Save