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

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

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

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

    userId_undefined

    菜

    倔强青铜
    3阅读
    0回复
    0点赞
  • 题解

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

    userId_undefined

    我是新手

    倔强青铜
    1阅读
    0回复
    0点赞
  • tijie

    userId_undefined

    正在减肥的吃货

    倔强青铜
    1阅读
    0回复
    0点赞
  • 数组方法

    #include <iostream> using namespace std; int main(){ int a,b,c,max=0; cin >> a >> b >> c; int d[3] = {a,b,c}; for(int i=0;i<3;++i){ if(d[i] > max){ max=d[i]; } } cout << max; }

    userId_undefined

    133****6036

    倔强青铜
    0阅读
    0回复
    0点赞
  • AC

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

    userId_undefined

    137****7090

    倔强青铜
    0阅读
    0回复
    0点赞
  • 题解

    userId_undefined

    神

    秩序白银
    0阅读
    0回复
    0点赞
  • 题解

    userId_undefined

    zsy

    秩序白银
    0阅读
    0回复
    0点赞
  • tj

    userId_undefined

    有事找大号

    秩序白银
    0阅读
    0回复
    0点赞
  • 题解

    userId_undefined

    耐高总冠军 张文杰

    倔强青铜
    0阅读
    0回复
    0点赞
  • 双重max函数

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

    userId_undefined

    ~Lyney~

    倔强青铜
    0阅读
    0回复
    0点赞
  • 123

    userId_undefined

    ༺ཌༀ超级无敌暴龙战士ༀད༻

    倔强青铜
    0阅读
    0回复
    0点赞

共31条

  • 1
  • 2
20条/页
跳至页
首页