前面写不对去看解析结果抄完后还是不对,请帮忙改一下。
#include<bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if((a+b+c<=100)&&(b%5==0)&&(c%7==0)&&(a-b>b-c)){ cout<<"YES"; }else{ cout<<"NO"; } return 0; }