额...
学生党做,不喜勿喷!!
1303
#include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
float h;
if(n>=10)
h=n*2.0;
else
h=n*2.2;
cout<<fixed<<setprecision(1)<<h;
return 0; }
1033
#include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
if(n%2==0)
cout<<"y e s";
else
cout<<"n o";
return 0;
}
1302
#include <bits/stdc++.h>
using namespace std;
int main(){
int t;
cin>>t;
if(t<=30&&t>=20)
cout<<"OK";
else
cout<<"NO";
return 0;
}
1632
#include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
if(n<=30)
cout<<1;
else
cout<<ceil(n/30.0);
return 0;
}
1043
#include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
if(n<=10)
cout<<fixed<<setprecision(2)<<2.5;
else
cout<<fixed<<setprecision(2)<<2.5+(n-10)*1.5;
return 0;
}
1037
#include <bits/stdc++.h>
using namespace std;
int main(){
double n;
cin>>n;
if(n<1.3)
cout<<60;
else
cout<<120;
return 0;
}
额
没时间了
下次再补吧!!