mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-30 17:16:26 +00:00
23 lines
281 B
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)
|
|
}
|