Search found 1 match

by julienh
Wed Jun 19, 2013 7:44 am
Forum: Volume 101 (10100-10199)
Topic: 10137 - The Trip
Replies: 159
Views: 70816

Re: 10137 - The Trip

Hi everyone !
These might get usefull for I/O :
(Please check that it is correct, but I got AC using these)

long int read_amount(){
long int amount = 0;
string money;
cin >> money;

for (int iCar = 0; iCar < money.size(); ++iCar) {
char& caracter = money[iCar];
if (isdigit(caracter ...

Go to advanced search