Skip to content

Instantly share code, notes, and snippets.

@yukpiz
Created December 5, 2019 01:09
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 yukpiz/e2de369809a3cd46d46d15b80616248f to your computer and use it in GitHub Desktop.
Save yukpiz/e2de369809a3cd46d46d15b80616248f to your computer and use it in GitHub Desktop.
package main
import "fmt"
func main() {
var a, b, c int
var s string
fmt.Scanf("%d\n%d %d\n%s", &a, &b, &c, &s)
fmt.Println(a+b+c, s)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment