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

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

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

    userId_undefined

    逍遥骇好=&

    2阅读
    0回复
    0点赞
  • 三目运算符解法

    这道题目用三目运算符做,卡了本蒟蒻好久,最终子啊大佬同学的帮助下做出来了

    userId_undefined

    vincent

    分支·分支解题者时间刺客空间掌握者时空双修者倔强青铜循环·循环打卡人
    1阅读
    0回复
    0点赞
  • So easy

    #include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a>0){ cout<<a<<endl; } if(b>0){ cout<<b<<endl; } if(c>0){ cout<<c<<endl; } return 0; }

    userId_undefined

    怪盗基德K

    倔强青铜循环·循环打卡人分支·分支解题者
    1阅读
    0回复
    0点赞
  • 题解

    userId_undefined

    ???

    秩序白银题解仙人出道萌新时空双修者GESP3级模拟·模拟练习生
    1阅读
    0回复
    0点赞
  • tj(别忘了换行)

    userId_undefined

    Tian

    出道萌新倔强青铜
    1阅读
    0回复
    0点赞
  • 题解

    #include <fstream> #include<iostream> #include <ostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a>0&b>0&c>0){ cout<<a<<endl; cout<<b<<endl; cout<<c<<endl; }else if(a>0&b>0&c<=0){ cout<<a<<endl; cout<<b<<endl; }else if(a>0&b<=0&c>0){ cout<<a<<endl; cout<<c<<endl; }else if(a<=0&b>0&c>0){ cout<<b<<endl; cout<<c<<endl; }else if(a>0&b<=0&c<=0){ cout<<a; }else if(a<=0&b<=0&c>0){ cout<<c; }else if(a<=0&b<=0&c<=0){ cout<<" "; }else if(a<=0&b>0&c<0){ cout<<b; }else{ cout<<a<<endl; cout<<b<<endl; cout<<c<<endl; } }

    userId_undefined

    编程小白

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

    #include <iostream> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if(a>0)cout<<a<<endl; if(b>0)cout<<b<<endl; if(c>0)cout<<c<<endl; return 0; }

    userId_undefined

    zaze

    出道萌新贪心·贪心尝试者模拟·模拟练习生倔强青铜递归·套娃学徒字符串·魔法使
    0阅读
    0回复
    0点赞

共27条

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

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

首页