acgo题库
  • 首页
  • 题库
  • 题单
  • 竞赛
  • 讨论
  • 排行
  • 团队
  • 备赛专区

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
登录
注册
题目详情题解(0)讨论(0)提交记录(0)
  • 不会的小朋友看这里,very简单

    #include<bits/stdc++.h> using namespace std; int a[1000005],x; int main(){ cin>>x; for(int i=0;i<=2025-x;i++){ if((x&i)+(x|i)==2025){ cout<<i; return 0; } } cout<<-1; }

    userId_undefined

    133****9510

    26阅读
    1回复
    1点赞
  • 看上面丛文熹发的题解

    看上面丛文熹发的题解

    userId_undefined

    133****9510

    17阅读
    2回复
    1点赞
  • 题解

    #include<bits/stdc++.h> using namespace std; int a[1000010],x; int main(){ cin>>x; for(int i=0;i<=2025-x;i++){ if((x&i)+(x|i)==2025){ cout<<i; return 0; } } cout<<-1; }

    userId_undefined

    Dream

    出道萌新分支·分支解题者秩序白银
    4阅读
    0回复
    1点赞
  • 题解 100% AC

    userId_undefined

    飞的智动

    7月全勤卷王题解仙人时空双修者模拟·模拟练习生快乐小狗倔强青铜
    2阅读
    0回复
    1点赞
  • 题解

    userId_undefined

    LS_YZY

    时空双修者出道萌新模拟·模拟练习生快乐小狗倔强青铜题解仙人
    4阅读
    0回复
    0点赞
  • GESP 三级 真题 25年3月

    #include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; for(int y=1;y<=2025;y++){ if((x&y)+(x|y)==2025){ cout<<y<<endl; return 0; } } cout<<"-1"; return 0; }

    userId_undefined

    智慧达达(1)

    出道萌新快乐小狗时间刺客空间掌握者7月全勤卷王秩序白银
    3阅读
    0回复
    0点赞
首页