2018年1月13日 星期六

UVA Q10499 - The Land of Justice

#include<iostream>
#include<iomanip>
#include<cstring>
#include<cmath>
using namespace std;
int main(){
    long long a;
    while(cin>>a){
        if(a==-1){
            break;
        }
        if(a==1){
            cout<<"0%"<<endl;
        }else{
            cout<<a*25<<"%"<<endl;
        }
    }
system("pause");
return 0;
}

沒有留言:

張貼留言