Идёт турнир! | В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания.
|
|
| imesecan | 13.апр.2013 в 13:18:23
| | 0 | Сообщение скрыто
|
| imesecan | 13.апр.2013 в 13:21:27 | |
| 1 | If the length of the filter is bigger than the length of the contact name, that item doesn't fit to the given criteria.
|
| imesecan | 13.апр.2013 в 13:23:43
| | 2 | Сообщение скрыто
|
| imesecan | 13.апр.2013 в 13:27:42 | |
| 3 | 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.
|
| imesecan | 13.апр.2013 в 13:28:42
| | 4 | Сообщение скрыто
|
| imesecan | 13.апр.2013 в 13:42:45 | |
| 5 | There is no problem. numFilter doesn't have to be given char by char. But you process char by char.
|
| imesecan | 13.апр.2013 в 13:53:33
| | 6 | Сообщение скрыто
|
| imesecan | 13.апр.2013 в 14:02:26 | |
| 7 | 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 ...)
|
| imesecan | 13.апр.2013 в 14:04:13
| | 8 | Сообщение скрыто
|
| imesecan | 13.апр.2013 в 14:08:12
| | 9 | Сообщение скрыто
|
| imesecan | 13.апр.2013 в 14:15:36 | |
| 10 | if you want to access first char of string variable name, string name; cin>>name;
cout<<name[0];
|
|