Идёт турнир! | В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания.
|
|
imesecan | 12.дек.2012 в 21:54:05 | |
0 | Реплика удалена
|
imesecan | 16.дек.2012 в 15:29:53 | |
1 | You 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.
|
imesecan | 20.дек.2012 в 15:15:38 | |
2 | Реплика удалена
|
imesecan | 23.дек.2012 в 13:19:53 | |
3 | Please don't submit the code to forums. Just discuss the algorithms and solutions.
|
imesecan | 14.ноя.2013 в 10:49:36 | |
4 | This 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';
|
|