Pagini recente » Borderou de evaluare (job #2001991) | Cod sursa (job #820367) | Cod sursa (job #1963151) | Borderou de evaluare (job #1791496) | Borderou de evaluare (job #1791523)
Borderou de evaluare (job #1791523)
Raport evaluator
Compilare:
user.cpp: In constructor ‘trieNode::trieNode()’:
user.cpp:23:40: warning: passing NULL to non-pointer argument 2 of ‘void* memset(void*, int, size_t)’ [-Wconversion-null]
memset(tree, NULL, sizeof(tree));
^
user.cpp: In function ‘void inserare(trieNode*, std::string)’:
user.cpp:34:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int nrCar = 0; nrCar != w.size(); nrCar++){
^
user.cpp: In function ‘bool delete_word(trieNode*, std::string, int)’:
user.cpp:47:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(nrCar == w.size()){
^
user.cpp: In function ‘int QuerryWords(trieNode*, std::string, int)’:
user.cpp:65:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(nrCar == w.size()){
^
user.cpp: In function ‘int QuerryPrefix(trieNode*, std::string, int, int)’:
user.cpp:78:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(nrCar == w.size() or node->tree[w[nrCar] - 'a'] == NULL){
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 440kb | OK | 5 | 5 |
| 2 | 0ms | 456kb | OK | 5 | 5 |
| 3 | 0ms | 460kb | OK | 5 | 5 |
| 4 | 0ms | 456kb | OK | 5 | 5 |
| 5 | 0ms | 456kb | OK | 5 | 5 |
| 6 | 4ms | 460kb | OK | 5 | 5 |
| 7 | 8ms | 488kb | OK | 5 | 5 |
| 8 | 8ms | 476kb | OK | 5 | 5 |
| 9 | 24ms | 616kb | Incorect | 0 | 0 |
| 10 | 24ms | 1112kb | OK | 5 | 5 |
| 11 | 40ms | 512kb | OK | 5 | 5 |
| 12 | 64ms | 1812kb | Incorect | 0 | 0 |
| 13 | 80ms | 1568kb | Incorect | 0 | 0 |
| 14 | 88ms | 728kb | OK | 5 | 5 |
| 15 | 112ms | 700kb | OK | 5 | 0 |
| 16 | 156ms | 10284kb | Incorect | 0 |
| 17 | 152ms | 476kb | Incorect | 0 | 0 |
| 18 | 176ms | 7620kb | Incorect | 0 |
| 19 | 160ms | 480kb | OK | 5 | 10 |
| 20 | 156ms | 13668kb | OK | 5 |
| Punctaj total | 65 |