Pagini recente » Borderou de evaluare (job #1011685) | Borderou de evaluare (job #2751411) | Borderou de evaluare (job #1137667) | Borderou de evaluare (job #2489354) | Borderou de evaluare (job #2885161)
Borderou de evaluare (job #2885161)
Raport evaluator
Compilare:
main.cpp: In member function 'void trienode::insereaza(std::string&, int)':
main.cpp:24:20: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
24 | if(s.size()==poz)
| ~~~~~~~~^~~~~
main.cpp:30:16: warning: array subscript has type 'char' [-Wchar-subscripts]
30 | if(urm[litera_curenta]==nullptr)
| ^~~~~~~~~~~~~~
main.cpp:32:17: warning: array subscript has type 'char' [-Wchar-subscripts]
32 | urm[litera_curenta]=new trienode();
| ^~~~~~~~~~~~~~
main.cpp:34:13: warning: array subscript has type 'char' [-Wchar-subscripts]
34 | urm[litera_curenta]->insereaza(s,poz+1);
| ^~~~~~~~~~~~~~
main.cpp: In member function 'void trienode::sterge(std::string&, int)':
main.cpp:39:20: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
39 | if(s.size()==poz)
| ~~~~~~~~^~~~~
main.cpp:45:13: warning: array subscript has type 'char' [-Wchar-subscripts]
45 | urm[litera_curenta]->sterge(s,poz+1);
| ^~~~~~~~~~~~~~
main.cpp: In member function 'int trienode::nr_aparitii(std::string&, int)':
main.cpp:49:20: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
49 | if(s.size()==poz)
| ~~~~~~~~^~~~~
main.cpp:54:16: warning: array subscript has type 'char' [-Wchar-subscripts]
54 | if(urm[litera_curenta]==nullptr)
| ^~~~~~~~~~~~~~
main.cpp:58:20: warning: array subscript has type 'char' [-Wchar-subscripts]
58 | return urm[litera_curenta]->nr_aparitii(s,poz+1);
| ^~~~~~~~~~~~~~
main.cpp: In member function 'int trienode::lung_prefix(std::string&, int)':
main.cpp:62:20: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
62 | if(s.size()==poz)
| ~~~~~~~~^~~~~
main.cpp:71:16: warning: array subscript has type 'char' [-Wchar-subscripts]
71 | if(urm[litera_curenta]==nullptr)
| ^~~~~~~~~~~~~~
main.cpp:75:20: warning: array subscript has type 'char' [-Wchar-subscripts]
75 | return urm[litera_curenta]->lung_prefix(s,poz+1);
| ^~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 184kb | OK | 5 | 5 |
2 | 1ms | 184kb | Incorect | 0 | 0 |
3 | 1ms | 184kb | Incorect | 0 | 0 |
4 | 1ms | 184kb | Incorect | 0 | 0 |
5 | 1ms | 184kb | Incorect | 0 | 0 |
6 | 1ms | 184kb | Incorect | 0 | 0 |
7 | 1ms | 184kb | Incorect | 0 | 0 |
8 | 6ms | 307kb | Incorect | 0 | 0 |
9 | 12ms | 569kb | Incorect | 0 | 0 |
10 | 18ms | 1593kb | Incorect | 0 | 0 |
11 | 19ms | 417kb | Incorect | 0 | 0 |
12 | 40ms | 3108kb | Incorect | 0 | 0 |
13 | 65ms | 2543kb | Incorect | 0 | 0 |
14 | 46ms | 880kb | Incorect | 0 | 0 |
15 | 49ms | 905kb | Incorect | 0 | 0 |
16 | 156ms | 21839kb | Incorect | 0 |
17 | 57ms | 348kb | Incorect | 0 | 0 |
18 | 120ms | 16388kb | Incorect | 0 |
19 | 55ms | 344kb | Incorect | 0 | 0 |
20 | 175ms | 27660kb | Incorect | 0 |
Punctaj total | 5 |