已解决 方宇哲 资深守护 #include<iostream> #include<cstdio> using namespace std; int main() { float a,s=0; cin>>a; if(a>=10&&a<=20) { s+=a-10; cout<<"Yes "<<s; }else if(a==10) { cout<<"Yes"; }else if(a>=5){ cout<<"No"; } return 0; }