GESP202503 三级] 2025 bl0923 · 2025-03-29 16:04:35 · 题解 这道题很简单啊!!! 那我就不讲了,直接发送c++代码(请勿抄袭) include<bits/stdc++.h> using namespace std; int main(){ int x; scanf("%d",&x); for(int y=1;y<=2025;y++){ if((x&y)+(x|y)==2025){ printf("%d\n",y); return 0; } } printf("-1\n"); return 0; }