Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JonBons/6597dbef58af78151f1e to your computer and use it in GitHub Desktop.
Save JonBons/6597dbef58af78151f1e to your computer and use it in GitHub Desktop.
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