11 条题解

  • 1
    @ 2025-12-20 22:06:55
    #include<iostream>
    #include<cstdio>
    #include<cctype>
    #include<string.h>
    #include<math.h>
    #include<cmath>
    #include<algorithm>
    #include<iomanip>
    using namespace std;
    int main()
    {
    	long long a,b,c,d;
    	cin>>a>>b>>c>>d; 
    	if(a+b>10)
    	{
    		cout<<a*b;
    	} 
    	else if(b+c>5)
    	{
    		cout<<c*d;
    	}
    	else if(d<10||a*c>100)
    	{
    		cout<<"Yes";
    	}
    	else
    	{
    		cout<<"No";
    	}
    	return 0;
    }
    
    
    
    • 0
      @ 2025-12-7 13:08:34
      #include <iostream>
      using namespace std;
      int main()
      {
      	int a,b,c,d;
      	cin >> a >> b >> c >> d;
      	if (a + b > 10)
      		cout << a * b;
      	else if (b + c > 5)
      		cout << c * d;
      	else if (d < 10 || a * c > 100)
      		cout << "Yes";
      	else
      	    cout << "No";
      	return 0;
      }
      • -1
        @ 2025-4-29 13:31:00

        #include<bits/stdc++.h> using namespace std; int a , b , c , d; int main() { cin >> a >> b >> c >> d; if( a + b > 10 ) cout << a * b; else if( b + c > 5 ) cout << c * d; else if( d < 10 || a * c > 100 ) cout << "Yes"; else cout << "No";

        }

        • -1
          @ 2022-1-3 11:30:54
          #include <queue>
          #include <math.h>
          #include <stack>
          #include <stdio.h>
          #include <iostream>
          #include <vector>
          #include <iomanip>
          #include <string.h>
          #include <algorithm>
          using namespace std;
          #define LL long long
          const int N = 1e5 + 10;
          const int INF = 0x3f3f3f3f;
          int main()
          {	
          	int a,b,c,d;
          	cin >>a >>b >>c >>d;
          	if(a+b>10)
          	{
          		cout << a*b;
          	}
          	else if(b+c > 5)
          	{
          		cout <<c*d;
          	}
          	else if(d<10 || a*c>100)
          	{
          		cout<<"Yes";
          	}
          	else
          	{
          		cout<<"No";
          	}
          	return 0;
          }
          
          • -2
            @ 2025-3-2 10:24:49
            
            #include<bits/stdc++.h>
            using namespace std;
            #define LL long long
            const int N = 1e5 + 10;
            const int INF = 0x3f3f3f3f;
            int a , b , c , d;
            int main()
            {
            	cin >> a >> b >> c >> d;
            	if( a + b > 10 )
            	{
            		cout << a * b;
            	}
            	else if( b + c > 5 )
            	{
            		cout << c * d;
            	}
            	else if( d < 10 || a * c > 100 ) 
            	{
            		cout << "Yes";
            	}
            	else
            	{
            		cout << "No";
            	}
            	return 0;
            }
            //菜鸟驿站
            //老六专属
            
            
            • @ 2025-3-2 10:28:44

              包对代码!!! 一定AC 不能抄袭,抄了是狗

            • @ 2025-4-5 21:40:42

              @ 你这人有点自大啊!!!

          • -2
            @ 2023-8-23 18:41:02
            #include <math.h>
            #include <stack>
            #include <stdio.h>
            #include <iostream>
            #include <vector>
            #include <iomanip>
            #include <string.h>
            #include <algorithm>
            using namespace std;
            #define LL long long
            const int N = 1e5 + 10;
            const int INF = 0x3f3f3f3f;
            int main()
            {	
            	int b,c,d;
                char a="你是猪";
            	cin >>b >>c >>d;
            	if(a+b>10)
            	{
            		cout << a*b<<"你是猪";
            	}
            	else if(b+c > 5)
            	{
            		cout <<c*d<<"你是猪";
            	}
            	else if(d<10 || a*c>100)
            	{
            		cout<<"Yes";
            	}
            	else
            	{
            		cout<<"No";
            	}
            	return 0;
            }
            
            • -2
              @ 2023-3-15 20:22:20

              #include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d;

              cin>>a>>b>>c>>d;
              
              if(a+b>10){
              	cout<<a*b;
              }
              else if(b+c>5){
              	cout<<c*d;
              }
              else if(d<10 || a*c>100){
              	cout<<"Yes";
              }
              else
              {
              	cout<<"No";
              }
              
              
              return 0;
              

              }

              • -2
                @ 2022-3-30 21:06:42

                #include

                using namespace std;

                int main(){

                int a,b,c,d;
                
                cin>>a>>b>>c>>d;
                
                if(a+b>10){
                
                	cout<<a*b;
                
                }else{
                
                	if(b+c>5){
                
                		cout<<c*d;
                
                	}else{
                
                		if(d<10||a*c>100){
                
                			cout<<"Yes";
                		
                        }else{
                
                			cout<<"No";
                
                		}
                
                	}
                
                }
                

                }

                • -2
                  @ 2022-1-3 11:30:24
                  #include <stdio.h>
                  #include <iostream>
                  using namespace std;
                  int main()
                  {
                  	int a,b,c,d;
                  	cin >> a >> b >> c >> d;
                  	if (a+b>10)
                  	{
                  		cout<<a*b;
                  	}
                  	else if(b+c>5)
                  	{
                  		cout<<c*d;
                  
                  	}
                  	else if(d<10 || a*c > 100)
                  	{
                  		cout<<"Yes";
                  	}
                  	else
                  	{
                  		cout<<"No";
                  	}
                  
                  }
                  
                  	
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  • -3
                    @ 2023-3-15 20:03:56

                    #include <stdio.h> #include using namespace std; int main() { int a,b,c,d; cin >> a >> b >> c >> d; if (a+b>10) { cout<<ab; } else if(b+c>5) { cout<<cd;

                    }
                    else if(d<10 || a*c > 100)
                    {
                    	cout<<"Yes";
                    }
                    else
                    {
                    	cout<<"No";
                    }
                    

                    }

                    • -4
                      @ 2023-3-15 20:06:44
                      #include <stdio.h>
                      #include <iostream>
                      using namespace std;
                      int main()
                      {
                      	int a,b,c,d;
                      	cin >> a >> b >> c >> d;
                      	if (a+b>10)
                      	{
                      		cout<<a*b;
                      	}
                      	else if(b+c>5)
                      	{
                      		cout<<c*d;
                      
                      	}
                      	else if(d<10 || a*c > 100)
                      	{
                      		cout<<"Yes";
                      	}
                      	else
                      	{
                      		cout<<"No";
                      	}
                            return 0;
                      }
                      
                      • 1

                      信息

                      ID
                      887
                      时间
                      1000ms
                      内存
                      128MiB
                      难度
                      4
                      标签
                      递交数
                      833
                      已通过
                      394
                      上传者