acgo题库
  • 首页
  • 题库
  • 学习
  • 天梯
  • 备赛

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
  • 竞赛
  • 讨论
  • 团队
登录
注册
题目详情提交记录(0)
  • 小题解

    userId_undefined

    逍遥骇好=&

    1阅读
    0回复
    0点赞
  • 如下是Python答案解

    x,y = input().split() x = int(x) y = int(y) if -1<=x<=1 and -1<=y<=1: print("yes") else: print("no")

    userId_undefined

    海绵宝宝的好友来电

    分支·分支解题者
    0阅读
    0回复
    0点赞
  • 题解

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

    userId_undefined

    LS_YZY

    出道萌新题解仙人时空双修者倔强青铜模拟·模拟练习生快乐小狗
    0阅读
    0回复
    0点赞
  • 题解

    userId_undefined

    zsy

    快乐小狗题解仙人时空双修者BUG超度大师秩序白银
    0阅读
    0回复
    0点赞
  • tj

    userId_undefined

    有事找大号

    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

    acgoacgo

    秩序白银时间刺客空间掌握者时空双修者
    0阅读
    0回复
    0点赞

共48条

  • 1
  • 2
  • 3
20条/页
跳至页
暂无数据

提交答案之后,这里将显示提交结果~

首页