38 条题解

  • 2
    @ 2024-3-3 9:43:06
    #include <bits/stdc++.h>#include <bits/stdc++.h>
     using namespace std; int main()
     { 
    int a,b,c;
     cin>>a>>b>>c; 
    int ans=a; 
    if (b>ans)
     {
     ans=b; 
    }
     if (c>ans)
     {
     ans=c;
     }
     cout<<ans<<endl;
     return 0;
     }                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
    
    • 2
      @ 2024-3-3 9:42:39
      #include <bits/stdc++.h>#include <bits/stdc++.h>
       using namespace std; int main()
       { 
      int a,b,c;
       cin>>a>>b>>c; 
      int ans=a; 
      if (b>ans)
       {
       ans=b; 
      }
       if (c>ans)
       {
       ans=c;
       }
       cout<<ans<<endl;
       return 0;
       }                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
      
      • 2
        @ 2024-3-3 9:42:04
        #include <bits/stdc++.h>#include <bits/stdc++.h>
         using namespace std; int main()
         { 
        int a,b,c;
         cin>>a>>b>>c; 
        int ans=a; 
        if (b>ans)
         {
         ans=b; 
        }
         if (c>ans)
         {
         ans=c;
         }
         cout<<ans<<endl;
         return 0;
         }                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
        
        • 2
          @ 2024-2-23 10:42:51
          #include <bits/stdc++.h>
           using namespace std; int main()
           { 
          int a,b,c;
           cin>>a>>b>>c; 
          int ans=a; 
          if (b>ans)
           {
           ans=b; 
          }
           if (c>ans)
           {
           ans=c;
           }
           cout<<ans<<endl;
           return 0; 
          }
          
          • 2
            @ 2024-2-22 21:27:35
            • #include <bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int ans=a; if (b>ans) { ans=b; } if (c>ans) { ans=c; } cout<<ans<<endl; return 0; }
            • 1
            • 1
              @ 2024-2-23 9:59:30
              • #include <bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int ans=a; if (b>ans) { ans=b; } if (c>ans) { ans=c; } cout<<ans<<endl; return 0; }
              • 1
                @ 2024-2-23 9:59:28
                • #include <bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int ans=a; if (b>ans) { ans=b; } if (c>ans) { ans=c; } cout<<ans<<endl; return 0; }
                • 1
                  @ 2024-2-23 9:59:24
                  • #include <bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int ans=a; if (b>ans) { ans=b; } if (c>ans) { ans=c; } cout<<ans<<endl; return 0; }
                  • 1
                    @ 2024-2-23 9:59:22
                    • #include <bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int ans=a; if (b>ans) { ans=b; } if (c>ans) { ans=c; } cout<<ans<<endl; return 0; }
                    • 0
                      @ 2024-3-17 9:59:06
                      #include <bits/stdc++.h>#include <bits/stdc++.h>
                       using namespace std; int main()
                       { 
                      int a,b,c;
                       cin>>a>>b>>c; 
                      int ans=a; 
                      if (b>ans)
                       {
                       ans=b; 
                      }
                       if (c>ans)
                       {
                       ans=c;
                       }
                       cout<<ans<<endl;
                       return 0;
                       }                   
                      
                      • 0
                        @ 2024-2-23 10:40:48

                        #include<bits/stdc++.h> using namespace std; int main(){ int a[10005]; for(int i=1;i<=3;i++) cin>>a[i]; for(int i=1;i<=3;i++){ for(int j=1;j<=3-i;j++){ if(a[j]<a[j+1]) swap(a[j],a[j+1]); } } for(int i=1;i<=1;i++) cout<<a[1]; }

                        • 0
                          @ 2024-2-23 10:40:37
                          • #include <bits/stdc++.h>
                          • using namespace std; int main()
                          • {
                          • int a,b,c;
                          • cin>>a>>b>>c;
                          • int ans=a; if (b>ans)
                          • {
                          • ans=b;
                          • }
                          • if (c>ans)
                          • {
                          • ans=c;
                          • }
                          • cout<<ans<<endl ;
                          • return 0;
                          • }
                          • 0
                            @ 2024-2-23 10:38:44

                            #include<bits/stdc++.h> using namespace std; int main(){ int a[10005]; for(int i=1;i<=3;i++) cin>>a[i]; for(int i=1;i<=3;i++){ for(int j=1;j<=3-i;j++){ if(a[j]<a[j+1]) swap(a[j],a[j+1]); } } for(int i=1;i<=1;i++) cout<<a[1]; }

                            • 0
                              @ 2024-2-23 10:38:27

                              #include<bits/stdc++.h> using namespace std; int main(){ int a[10005]; for(int i=1;i<=3;i++) cin>>a[i]; for(int i=1;i<=3;i++){ for(int j=1;j<=3-i;j++){ if(a[j]<a[j+1]) swap(a[j],a[j+1]); } } for(int i=1;i<=1;i++) cout<<a[1]; }

                              • 0
                                @ 2024-2-23 9:59:44
                                • #include <bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int ans=a; if (b>ans) { ans=b; } if (c>ans) { ans=c; } cout<<ans<<endl; return 0; }
                                • 0
                                  @ 2024-2-23 9:59:43
                                  • #include <bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int ans=a; if (b>ans) { ans=b; } if (c>ans) { ans=c; } cout<<ans<<endl; return 0; }
                                  • 0
                                    @ 2024-2-23 9:59:43
                                    • #include <bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int ans=a; if (b>ans) { ans=b; } if (c>ans) { ans=c; } cout<<ans<<endl; return 0; }
                                    • 0
                                      @ 2024-2-23 9:59:42
                                      • #include <bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int ans=a; if (b>ans) { ans=b; } if (c>ans) { ans=c; } cout<<ans<<endl; return 0; }
                                      • 0
                                        @ 2024-2-23 9:59:42
                                        • #include <bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int ans=a; if (b>ans) { ans=b; } if (c>ans) { ans=c; } cout<<ans<<endl; return 0; }
                                        • 0
                                          @ 2024-2-23 9:59:41
                                          • #include <bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int ans=a; if (b>ans) { ans=b; } if (c>ans) { ans=c; } cout<<ans<<endl; return 0; }

                                          信息

                                          ID
                                          2133
                                          时间
                                          1000ms
                                          内存
                                          256MiB
                                          难度
                                          2
                                          标签
                                          递交数
                                          710
                                          已通过
                                          304
                                          上传者