24 条题解

  • -2
    @ 2023-3-15 20:08:16

    #include<iostream> #include<cmath> using namespace std; int a,b,c,d; int main(void){ 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"; } return 0; }

    • [ ] 1. 1.
    • -2
      @ 2023-3-15 20:07:38

      #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<<ab; } else if(b+c>5) { cout<<cd;

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

      } #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<<ab; } else if(b+c>5) { cout<<cd;

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

      } #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<<ab; } else if(b+c>5) { cout<<cd;

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

      } #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<<ab; } else if(b+c>5) { cout<<cd;

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

      } #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<<ab; } else if(b+c>5) { cout<<cd;

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

      } #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<<ab; } else if(b+c>5) { cout<<cd;

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

      } #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<<ab; } else if(b+c>5) { cout<<cd;

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

      } #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<<ab; } else if(b+c>5) { cout<<cd;

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

      } #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<<ab; } else if(b+c>5) { cout<<cd;

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

      } #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<<ab; } else if(b+c>5) { cout<<cd;

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

      } #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<<ab; } else if(b+c>5) { cout<<cd;

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

      }

      • -2
        @ 2021-10-19 12:54:04
        1. a,b,c,d=map(int,input().split()) if a+b>10: print(ab) elif b+c>5: print(cd) elif d<10 or ac>100: print('Yes') elif d>=10 or ac<=100: print('No')
        • -3
          @ 2022-2-9 22:05:13

          #include<iostream> using namespace std; int main() { int a,b,c,d,e,t; cin>>a>>b>>c>>d; e=ab; t=cd; if(a+b>10) { cout<<e; } else if(b+c>5) { cout<<t; } else if(d<10||a*c>100) { cout<<"Yes"; } else { cout<<"No"; } return 0; }

          信息

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