-
-
Save JonBons/6597dbef58af78151f1e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open System | |
[<EntryPoint>] | |
let main argv = | |
let lines = [1..(Console.ReadLine() |> int)] | |
let result = | |
lines | |
|> List.map(fun _ -> Console.ReadLine().Split() |> Seq.map int |> Seq.sum |> string) | |
|> String.concat("\n") | |
printf "%s" result | |
0 //ret code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment