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

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

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

    userId_undefined

    zsy

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

    #include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; if(a==0){ cout<<"zero"; return 0; } if(a<0){ cout<<"negative"; return 0; } cout<<"positive"; return 0; }

    userId_undefined

    LS_YZY

    时空双修者题解仙人倔强青铜出道萌新模拟·模拟练习生快乐小狗
    5阅读
    0回复
    0点赞
  • 没事找事,用字符串写一个

    #include<bits/stdc++.h> using namespace std; int main(){ string s; cin>>s; if(s[0]'-') cout<<"negative"; else if(s[0]'0') cout<<"zero"; else cout<<"positive"; return 0; }

    userId_undefined

    川普戒网瘾

    1阅读
    0回复
    0点赞
暂无数据

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

首页