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

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

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

    #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
    乾隆降世
    分支·分支解题者倔强青铜I/O·IO入门者
    1阅读
    0回复
    0点赞
  • 数组

    #include<bits/stdc++.h>//submitRecord// using namespace std; //const int N=1e7+10; int main(){ //freopen("","r",stdin); //freopen("","w",stdout); ios::sync_with_stdio(); cin.tie(nullptr); cout.tie(nullptr); int n[4]; for(int i=1;i<=3;i++){ cin>>n[i]; if(n[i] >0 ) cout<<n[i]<<endl; } //fclose(stdin); //fclose(stdout); return 0; }

    userId_undefined
    哥伦比亚
    出道萌新时间刺客空间掌握者时空双修者快乐小狗枚举·枚举小能手
    2阅读
    0回复
    0点赞
  • 点赞

    userId_undefined
    momo
    时空双修者模拟·模拟练习生维度操控者贪心·贪心尝试者枚举·枚举小能手倔强青铜
    1阅读
    0回复
    0点赞
  • harrypotter发题解啦

    #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
    if哈利波特“&&”被诅咒的孩子
    分支·分支解题者倔强青铜
    0阅读
    0回复
    0点赞

共24条

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

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

首页