提交时间:2021-05-22 14:23:35
运行 ID: 73
#include<iostream> #include<cstdio> using namespace std; int main(){ int b,c=8,d=0; float a; cin>>a>>b; if(a<=1000){ if(b=='y'){ c=c+5; cout<<c; return 0; }else{ cout<<c; return 0; } } if(a>1000){ c=c+4; c=c+5; } cout<<c; }