Pagini recente » Borderou de evaluare (job #1573812) | Borderou de evaluare (job #1192002) | Borderou de evaluare (job #182895) | Borderou de evaluare (job #941313) | Borderou de evaluare (job #2885165)
Borderou de evaluare (job #2885165)
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:67:20: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
67 | 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 | OK | 5 | 5 |
3 | 1ms | 184kb | OK | 5 | 5 |
4 | 1ms | 184kb | OK | 5 | 5 |
5 | 1ms | 184kb | OK | 5 | 5 |
6 | 1ms | 184kb | OK | 5 | 5 |
7 | 1ms | 184kb | OK | 5 | 5 |
8 | 5ms | 405kb | OK | 5 | 5 |
9 | 7ms | 577kb | OK | 5 | 5 |
10 | 13ms | 1617kb | OK | 5 | 5 |
11 | 20ms | 417kb | OK | 5 | 5 |
12 | 67ms | 3133kb | OK | 5 | 5 |
13 | 70ms | 2523kb | OK | 5 | 5 |
14 | 63ms | 851kb | OK | 5 | 5 |
15 | 71ms | 794kb | OK | 5 | 10 |
16 | 144ms | 21803kb | OK | 5 |
17 | 91ms | 397kb | OK | 5 | 10 |
18 | 238ms | 16502kb | OK | 5 |
19 | 92ms | 385kb | OK | 5 | 10 |
20 | 297ms | 27734kb | OK | 5 |
Punctaj total | 100 |