标签:os io ios re return include
#include<iostream>
using namespace std;
int main(){
int speed,limit,ex;
cin>>speed>>limit;
ex=100.0*(speed-limit)/limit+0.5;
if(ex<10)
cout<<"OK"<<endl;
else if(ex<50)
cout<<"Exceed "<<ex<<"%. Ticket 200"<<endl;
else
cout<<"Exceed "<<ex<<"%. License Revoked"<<endl;
return 0;
}
分支-08. 高速公路超速处罚(15),布布扣,bubuko.com
标签:os io ios re return include
原文地址:http://www.cnblogs.com/gnodidux/p/3819778.html