Pagini recente » Borderou de evaluare (job #537525) | Borderou de evaluare (job #427318) | Borderou de evaluare (job #640059) | Borderou de evaluare (job #933469) | Borderou de evaluare (job #3182802)
Borderou de evaluare (job #3182802)
Raport evaluator
Compilare:
main.cpp: In function 'void func_insert(node*, std::string&, int)':
main.cpp:22:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | if(pos==s.size())
| ~~~^~~~~~~~~~
main.cpp:29:18: warning: array subscript has type 'char' [-Wchar-subscripts]
29 | if(nod->next[lit]==nullptr)
| ^~~
main.cpp:31:19: warning: array subscript has type 'char' [-Wchar-subscripts]
31 | nod->next[lit]=new node();
| ^~~
main.cpp:33:27: warning: array subscript has type 'char' [-Wchar-subscripts]
33 | func_insert(nod->next[lit],s,pos+1);
| ^~~
main.cpp: In function 'void func_del(node*, std::string&, int)':
main.cpp:38:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | if(pos==s.size())
| ~~~^~~~~~~~~~
main.cpp:46:18: warning: array subscript has type 'char' [-Wchar-subscripts]
46 | if(nod->next[lit]==nullptr)
| ^~~
main.cpp:50:24: warning: array subscript has type 'char' [-Wchar-subscripts]
50 | func_del(nod->next[lit],s,pos+1);
| ^~~
main.cpp: In function 'int query_cnt(node*, std::string&, int)':
main.cpp:54:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | if(pos==s.size())
| ~~~^~~~~~~~~~
main.cpp:59:25: warning: array subscript has type 'char' [-Wchar-subscripts]
59 | query_cnt(nod->next[lit],s,pos+1);
| ^~~
main.cpp: In function 'int query_prefix(node*, std::string&, int)':
main.cpp:64:18: warning: array subscript has type 'char' [-Wchar-subscripts]
64 | if(nod->next[lit]==nullptr || nod->next[lit]->cuv_dupa == 0)
| ^~~
main.cpp:64:45: warning: array subscript has type 'char' [-Wchar-subscripts]
64 | if(nod->next[lit]==nullptr || nod->next[lit]->cuv_dupa == 0)
| ^~~
main.cpp:68:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | if(pos==s.size())
| ~~~^~~~~~~~~~
main.cpp:72:28: warning: array subscript has type 'char' [-Wchar-subscripts]
72 | query_prefix(nod->next[lit],s,pos+1);
| ^~~
main.cpp: In function 'int query_cnt(node*, std::string&, int)':
main.cpp:59:14: warning: control reaches end of non-void function [-Wreturn-type]
59 | query_cnt(nod->next[lit],s,pos+1);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int query_prefix(node*, std::string&, int)':
main.cpp:72:17: warning: control reaches end of non-void function [-Wreturn-type]
72 | query_prefix(nod->next[lit],s,pos+1);
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 10ms | 397kb | Killed by Signal 11 | 0 | 0 |
| 2 | 9ms | 401kb | Killed by Signal 11 | 0 | 0 |
| 3 | 4ms | 397kb | Killed by Signal 11 | 0 | 0 |
| 4 | 9ms | 409kb | Killed by Signal 11 | 0 | 0 |
| 5 | 9ms | 401kb | Killed by Signal 11 | 0 | 0 |
| 6 | 8ms | 409kb | Killed by Signal 11 | 0 | 0 |
| 7 | 8ms | 405kb | Killed by Signal 11 | 0 | 0 |
| 8 | 4ms | 405kb | Killed by Signal 11 | 0 | 0 |
| 9 | 9ms | 405kb | Killed by Signal 11 | 0 | 0 |
| 10 | 4ms | 405kb | Killed by Signal 11 | 0 | 0 |
| 11 | 0ms | 405kb | Killed by Signal 11 | 0 | 0 |
| 12 | 0ms | 405kb | Killed by Signal 11 | 0 | 0 |
| 13 | 0ms | 413kb | Killed by Signal 11 | 0 | 0 |
| 14 | 0ms | 405kb | Killed by Signal 11 | 0 | 0 |
| 15 | 0ms | 413kb | Killed by Signal 11 | 0 | 0 |
| 16 | 0ms | 405kb | Killed by Signal 11 | 0 |
| 17 | 0ms | 409kb | Killed by Signal 11 | 0 | 0 |
| 18 | 0ms | 417kb | Killed by Signal 11 | 0 |
| 19 | 0ms | 409kb | Killed by Signal 11 | 0 | 0 |
| 20 | 0ms | 425kb | Killed by Signal 11 | 0 |
| Punctaj total | 0 |