15 条题解

  • 4
    @ 2017-10-23 20:25:49

    a=int(input())
    b=int(input())
    c=int(input())
    print(max(a,b,c))

  • 2
    @ 2019-03-05 22:38:44

    print (max([int(input()),int(input()),int(input())]))

  • 2
    @ 2018-10-22 22:56:18
    #include<iostream>
    #include<cstdio>
    #include<cmath>
    #include<algorithm>
    #include<cstring>
    #include<vector>
    #include<map>
    #include<queue>
    #include<stack>
    #define INF 1<<30
    #define LL long long
    #define ULL unsigned long long
    using namespace std;
    inline int read()
    {
        char ch=getchar();
        int x=0,f=1;
        while(!isdigit(ch))
        {
            if(ch=='-') f=-1;
            ch=getchar();
        }
        while(isdigit(ch))
        {
            x=x*10+ch-'0';
            ch=getchar();
        }
        return x*f;
    }
    int a,b,c;
    int main()
    {
        a=read();
        b=read();
        c=read();
        printf("%d",max(max(a,b),c));
        return 0;
    }
    
    
  • 1
    @ 2020-09-16 22:59:09

    #python3

    a=int(input())
    b=int(input())
    c=int(input())
    print(max(a,b,c))
    
  • 1
    @ 2020-01-29 19:45:03

    print(max([int(input()),int(input()),int(input())]))

  • 1
    @ 2019-04-08 18:20:06
    print(max(int(input()),int(input()),int(input())))
    
    
  • 1
    @ 2017-09-25 10:16:09

    a=int(input())
    b=int(input())
    c=int(input())
    d=a
    if(b>d):
    d=b
    if(c>d):
    d=c
    print(d)

  • 0
    @ 2023-12-26 20:31:01

    s=[]
    for i in range(3):
    n=int(input())
    s.append(n)
    print(max(s))

  • 0
    @ 2023-06-19 19:08:32

    a=int(input())
    b=int(input())
    c=int(input())
    if b>a:
    if b>c:
    print(b)
    else:
    print(c)
    else:
    if a>c:
    print(a)
    else:
    print(c)

  • 0
    @ 2019-10-22 16:41:36
    print(max([int(input()),int(input()),int(input())]))
    
  • 0
    @ 2019-02-07 18:23:10

    c语言初学者的答案:
    #include <stdio.h>
    int main(int argc, char *argv[])
    {
    int a,b,c,max,max1;
    scanf("%d", &a);
    scanf("%d", &b);
    scanf("%d", &c);
    max1=a>b?a:b;
    max=max1>c?max1:c;
    printf("%d",max);
    }

  • 0
    @ 2017-10-25 12:34:40

    c++答案
    #include <iostream>
    #include <cmath>
    using namespace std;
    int main()
    {
    int a,b,c;
    cin>>a>>b>>c;
    if(a<b){
    if(b<c){cout<<c<<endl;
    }
    else{cout<<b<<endl;}
    }
    else{cout<<a<<endl;}

    getchar();
    getchar();
    return 0;
    }

  • 0

    #include <stdio.h>

    a=int(input())
    b=int(input())
    c=int(input())

    max=a
    if b>max:
    max=b
    if c>max:
    max=c

    print(max)

  • 0
    @ 2017-09-22 09:07:25

    a=int(input())
    b=int(input())
    c=int(input())

    if( and ):
    print()
    elif( and ):
    print()
    elif( and ):
    print()
    else:
    print()

  • 0
    @ 2017-09-07 12:31:23

    这道题系统判对的答案有问题

    • @ 2017-09-16 22:02:42

      +1,试过好多遍确定自己写的没有问题,然后发现系统评测10次是一半对一半错。。。

    • @ 2017-09-19 11:16:00

      没问题啊...

    • @ 2017-09-19 16:11:32

      @唐尔瞻: +1

    • @ 2017-09-25 10:16:58

      @晁嘉禾: 我之前写了一个错的 提交就算对了🤷‍♀️

  • 1

信息

难度
2
分类
(无)
标签
(无)
递交数
3639
已通过
1100
通过率
30%
被复制
3
上传者