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

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

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

    userId_undefined

    zsy

    出道萌新题解仙人7月全勤卷王时间刺客时空双修者秩序白银
    13阅读
    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

    出道萌新题解仙人时空双修者模拟·模拟练习生倔强青铜快乐小狗
    4阅读
    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点赞
首页