HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Forums > Discussion of problems > topic:


Problem "Filtering Contact List"

There is a contest!

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

imesecanApr.13.2013 at 01:18:23 PM
0Сообщение скрыто

imesecanApr.13.2013 at 01:21:27 PM
1
(0: TOD11)
If the length of the filter is bigger than the length of the contact name, that item doesn't fit to the given criteria.

imesecanApr.13.2013 at 01:23:43 PM
2Сообщение скрыто

imesecanApr.13.2013 at 01:27:42 PM
3
(2: ArditMeti)
Normally you should better convert all to lowercase (or uppercase). But in our test cases, you don't have to. All the names start with uppercase and continue with lowercase.

imesecanApr.13.2013 at 01:28:42 PM
4Сообщение скрыто

imesecanApr.13.2013 at 01:42:45 PM
5
(4: HRP)
There is no problem. numFilter doesn't have to be given char by char. But you process char by char.

imesecanApr.13.2013 at 01:53:33 PM
6Сообщение скрыто

imesecanApr.13.2013 at 02:02:26 PM
7
(6: ArditMeti)
I think firstly your slash is reverse, it has to be '\0'.
Secondly, if your array is char array they I think you can also use the constant NULL. (If your array is integer or something else it's ...)

imesecanApr.13.2013 at 02:04:13 PM
8Сообщение скрыто

imesecanApr.13.2013 at 02:08:12 PM
9Сообщение скрыто

imesecanApr.13.2013 at 02:15:36 PM
10
(9: ArditMeti)
if you want to access first char of string variable name,
string name;
cin>>name;

cout<<name[0];


www.contester.ru