python3
def hdu_1091():
while True:
s = input("input")
s1 = s.split(" ")
if s1[0] == "0" and s1[1] == "0":
break
print(int(s1[0])+int(s1[1]))
if __name__ == "__main__":
hdu_1091()
golang
package main
import (
"fmt"
)
func main() {
var a, b int
for {
_, _ = fmt.Scan(&a, &b)
if a == 0 && b == 0 {
break
}
fmt.Println(a + b)
}
}
标签:__,HDU,1091,int,s1,golang,main
From: https://www.cnblogs.com/rm-hx/p/16923179.html