Browse Source

modifica Main0.hs

adaptedStrategy0
Andrea Bellandi 9 years ago
parent
commit
f2ae1ab5ac
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Main0.hs

+ 1
- 1
src/Main0.hs View File

@ -27,7 +27,7 @@ main = do args <- getArgs
(commands,points) <- return $ unzip commandspoints
seeds <- return ((map (\(seed, _) -> seed)) gmseed)
putStrLn . encodeJSON $ (packAll id seeds commands)
writeFile (file ++ ".output") (scoredata id (fst $ unzip gmseed) points)
writeFile ("scores") (scoredata id (fst $ unzip gmseed) points)
packAll :: Int -> [Int] -> [[Command]] -> [JSONSer]


Loading…
Cancel
Save