Codeforces 1325 D. Ehab the Xorcist (思维/构造) /详解
D. Ehab the Xorcist time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Given 2 integers u and v, find the shortest array such that bitwise-xor of its elements is u, and the sum of its elements is v. Input The only line contains 2 integers u and v
用户评论