Skip to content

Instantly share code, notes, and snippets.

@loloicci
Last active February 20, 2019 08:47
Show Gist options
  • Save loloicci/f0583f876f491080d2ebc42b5bc5df4f to your computer and use it in GitHub Desktop.
Save loloicci/f0583f876f491080d2ebc42b5bc5df4f to your computer and use it in GitHub Desktop.
import strutils
import sequtils
var
a = stdin.readline.parseInt
bc = stdin.readline.split.map(parseInt)
str = stdin.readline
echo "$1 $2" % [$(a + bc[0] + bc[1]), str]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment