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

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
登录
注册
题目详情题解(0)讨论(0)提交记录(0)
  • 呦西

    #include<bits/stdc++.h> using namespace std; int main(){ int a,b; cin>>a>>b; if(a1&&b1){ cout<<"yes"; }else if(a1&&b-1){ cout<<"yes"; }else if(a==-1&&b==-1){ cout<<"yes"; }else if(a0&&b0){ cout<<"yes"; }else if(a==-1&&b==1){ cout<<"yes"; }else{ cout<<"no"; } return 0; }

    userId_undefined

    霄

    荣耀黄金时空双修者
    0阅读
    0回复
    0点赞
  • 菜鸡新手的代码

    #include <iostream> using namespace std; int main(){ int x,y; cin>>x>>y; if(x>1||x<-1||y>1||y<-1) cout<<"no"; else cout<<"yes"; return 0; }

    userId_undefined

    死厨迪卢克

    0阅读
    0回复
    0点赞
  • 答案

    userId_undefined

    私密马赛

    0阅读
    0回复
    0点赞
  • 题解

    userId_undefined

    acgoacgo

    0阅读
    0回复
    0点赞
  • 题解

    userId_undefined

    准

    出道萌新倔强青铜
    0阅读
    0回复
    0点赞

共45条

  • 1
  • 2
  • 3
20条/页
跳至页
首页