0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-24 02:28:47 +00:00
OI-codes/LibreOJ/7/7.go

23 lines
281 B
Go

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