Pages

Wednesday, August 10, 2011

d460. 山六九之旅


#include
using namespace std;

int main (){
int n ;
while(cin >> n)
{
cout << (n>=0)*0+(n>=6)*590+(n>=12)*200+(n>=18)*100-(n>=60)*491<< endl ;
}
}

No comments:

Post a Comment