5 条题解

  • 1
    @ 2023-9-26 20:04:36
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        int a , b , c , d , e;
        cin >> a >> b >> c >> d >> e;
        cout << max(a,max(b,max(c,max(d,e))));
        return 0;
    }//A
    
    • 1
      @ 2023-4-9 19:26:31
      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
          int x1,x2,x3,x4,x5;
          cin>>x1>>x2>>x3>>x4>>x5;
          cout<<max(max(max(max(x1,x2),x3),x4),x5);
          return 0;
      }
      • 1
        @ 2023-2-16 21:31:10

        #include<iostream> using namespace std; int main(){ int a,s=0; for(int i=1;i<=5;i++){ cin>>a; if(a>s){ s=a; } } cout<<s; return 0; } 谁赞我我赞谁

        • @ 2023-2-20 20:45:37

          imageimage image image

        • @ 2023-8-31 10:44:31

          @

          ╭︿︿︿╮ {/ o o /} ( (oo) ) ︶ ︶︶

        • @ 2023-9-12 20:44:47

          @ #@%#^%@@@^@%%#^%!!%!#^%#%#^#@%#!@^#!%#^#%##^%!!@##^%!%^%#@%#%#%##@%$#^@#%

        • @ 2023-9-12 20:49:52

          @ “山寨货”

      • 1
        @ 2022-11-27 11:16:52
        #include <bits/stdc++.h>
        using namespace std;
        int main()
        {
            int a[5], max = 0;
            for (int i = 0; i < 5; i++)
            {
                cin >> a[i];
                if (a[i] > max)
                {
                    max = a[i];
                }
            }
            cout << max;
            return 0;
        }
        
        • 0
          @ 2023-2-15 17:26:56

          鼓励大家写题解,但注意题解格式。

          给代码两端加上这个会舒服一些

          ```cpp

          你的代码

          ```

          这个点在键盘的左上角tab上面那个键,注意切换输入法

          #include<iostream>
          using namespace std;
          int main()
          {
              int n;
              cin>>n;//这是一个注释
              return 0;
          }
          

          请注意严禁抄袭题解,写题解不要只放代码,需加上你的思路或代码注释。

          抄袭题解一经发现直接取消成绩。

          • 1

          信息

          ID
          732
          时间
          1000ms
          内存
          16MiB
          难度
          1
          标签
          递交数
          66
          已通过
          54
          上传者