Pages

Saturday, August 13, 2011

d827. 買鉛筆


#include
using namespace std;

int main()
{
int input,dozens,singles,output;
cin>>input;

dozens = input/12;
singles = input%12;

output = dozens*50+singles*5;
cout< return 0;
}

No comments:

Post a Comment