站外求调
  • 板块学术版
  • 楼主Pollococido
  • 当前回复0
  • 已保存回复0
  • 发布时间2024/12/8 16:33
  • 上次更新2024/12/8 20:09:37
查看原帖
站外求调
919410
Pollococido楼主2024/12/8 16:33

给定长度为 n(1≤n≤5×105)n(1\le n \le 5 \times 10^5) 的数组 A(Ai≤231)A(A_i \le 2^{31}),求能否找到一个二元组 (l,r)(l, r),使得 Aland⁡Al+1and⁡⋯and⁡ArA_l \operatorname{and} A_{l+1} \operatorname{and} \cdots \operatorname{and} A_r 结果为 MM。

题目经过精简。

2024/12/8 16:33
加载中...