HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Forums > Discussion of problems > topic:


Problem "Question 1"

There is a contest!

В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания.

imesecanDec.12.2012 at 09:54:05 PM
0Post is deleted

imesecanDec.16.2012 at 03:29:53 PM
1You read char by char then convert those chars into integer numbers that they represent
if ch contains char 9 (ch='9';)
you can convert it into number nine by
num=ch-'0'; // subtract char zero from it
Finally process.

imesecanDec.20.2012 at 03:15:38 PM
2Post is deleted

imesecanDec.23.2012 at 01:19:53 PM
3Please don't submit the code to forums.
Just discuss the algorithms and solutions.

imesecanNov.14.2013 at 10:49:36 AM
4This number is too big to read with integer or long long,
you need to read char by char and then convert every char to integer.

http://stackoverflow.com/questions/5029840/convert...

char a = '4';
int ia = a - '0';


www.contester.ru