0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-23 20:48:48 +00:00

#7. Input Test

https://loj.ac/s/1478204
This commit is contained in:
Baoshuo Ren 2022-06-08 16:21:23 +08:00
parent b7167752b2
commit f9b3c0a78a
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

22
LibreOJ/7/7.go Normal file
View File

@ -0,0 +1,22 @@
package main
import (
"bufio"
"fmt"
"os"
"strconv"
)
func main() {
scanner := bufio.NewScanner(os.Stdin)
var ans int64 = 0
for scanner.Scan() {
x, _ := strconv.ParseInt(scanner.Text(), 10, 64)
ans ^= x
}
fmt.Println(ans)
}