版本比较
P8891 「UOI-R1」询问
正文
增加 2 行删除 2 行
123456752 行未改动6061626364656667683 行未改动# Description[「UOI-R1」询问](https://www.luogu.com.cn/problem/P8891)给定 $n$ 个数的整数序列 $a_1, a_2, \cdots, a_n$,有 $m$ 次操作,每次操作给定 $x, y$。对于所有满足 $i \oplus x = 0$ 的 $i$,使得 $a_i \gets a_i - y$。数据范围:$1 \leq n, m \leq 10^6$,$-10^8 \leq y, a_i \leq 10^{8}$,$0 \leq x \leq n$。52 行未改动{x=read(),y=read();a[x]-=y;}for(int i=1;i<=n;++i)printf("%lld ",a[i]);return 0;}```3 行未改动123456752 行未改动6061626364656667683 行未改动# Description[「UOI-R1」询问](https://www.luogu.com.cn/problem/P8891)给定 $n$ 个数的整数序列 $a_1, a_2, \cdots, a_n$,有 $m$ 次操作,每次操作给定 $x, y$。对于所有满足 $i \oplus x = 0$ 的 $i$,使得 $a_i \gets a_i - y$。数据范围:$1 \leq n, m \leq 10^6$,$-10^8 \leq y, a_i \leq 10^{8}$,$0 \leq x \leq n$。52 行未改动{x=read(),y=read();a[x]-=y;}for(int i=1;i<=n;++i)printf("%lld ",a[i]);return 0;}```3 行未改动