0 赞
题解 P9821 【[ICPC2020 Shanghai R] Sum of Log】
[[ICPC2020 Shanghai R] Sum of Log](https://codeforces.com/gym/102900/problem/C) 两个数与运算为 0 这个条件很好转化,就是这两个数在二进制下没有相同的 1,而 ⌊log_2(i+j)+1⌋ 就是 i+…
题解
存档题解 1 篇按获赞排序
在洛谷打开[[ICPC2020 Shanghai R] Sum of Log](https://codeforces.com/gym/102900/problem/C) 两个数与运算为 0 这个条件很好转化,就是这两个数在二进制下没有相同的 1,而 ⌊log_2(i+j)+1⌋ 就是 i+…