0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-11 22:06:27 +00:00
OI-codes/LibreOJ/7/7.go

23 lines
281 B
Go
Raw Normal View History

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)
}