Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Correcto
|
0.006 s | 6 KBi |
#2 |
Correcto
|
0.005 s | 7 KBi |
#3 |
Correcto
|
0.004 s | 6 KBi |
#4 |
Correcto
|
0.006 s | 5 KBi |
#5 |
Correcto
|
0.004 s | 22 KBi |
package main import ( "fmt" "bufio" "os" "strings" "strconv" ) func main(){ scanner := bufio.NewScanner(os.Stdin) if scanner.Scan() { line := scanner.Text() split := strings.Split(line, " ") n1, _:= strconv.ParseInt(split[0], 10, 64) n2, _:= strconv.ParseInt(split[1], 10, 64) fmt.Println(n1 + n2) } }