3 条题解

  • 0
    @ 2024-12-29 10:43:47
    #include<bits/stdc++.h>
    using namespace std;
    signed main(){
    	int a,b,c,d,e;
    	cin>>a>>b>>c>>d>>e;
    	cout<<(max(a,max(b,max(c,max(d,e)))));
    }
    
    • 0
      @ 2024-12-28 16:16:14

      暴打 max\max

      #include<bits/stdc++.h>
      #define int long long
      #define INF 0x3f3f3f
      using namespace std;
      int a,b,c,d,e;
      signed main(){
      	cin>>a>>b>>c>>d>>e;
      	cout<<max(max(a,max(b,c)),max(d,e));
      	return 0;
      }
      
      • 0
        @ 2024-12-28 12:09:14

        哟 tj 11

        #include<bits/stdc++.h>
        using namespace std;
        int main()
        {
        	int a;
        	int maxx=0;
        	while(cin>>a)
        	{
        		maxx=max(maxx,a);
        	}
        	cout<<maxx;
        	return 0;
        }
        
        • 1

        信息

        ID
        38
        时间
        1000ms
        内存
        128MiB
        难度
        2
        标签
        递交数
        25
        已通过
        20
        上传者