Pagini recente » Borderou de evaluare (job #2647277) | Borderou de evaluare (job #1416469) | Borderou de evaluare (job #3215373) | Borderou de evaluare (job #123961) | Borderou de evaluare (job #2664358)
Borderou de evaluare (job #2664358)
Raport evaluator
Compilare:
main.cpp: In member function 'void trienod::add(int)':
main.cpp:18:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(depth==s.size()) return;
~~~~~^~~~~~~~~~
main.cpp:20:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(depth+1==s.size()) x=0;
~~~~~~~^~~~~~~~~~
main.cpp:22:9: warning: array subscript has type 'char' [-Wchar-subscripts]
if(v[x]==nullptr) v[x]=new trienod();
^
main.cpp:22:24: warning: array subscript has type 'char' [-Wchar-subscripts]
if(v[x]==nullptr) v[x]=new trienod();
^
main.cpp:23:6: warning: array subscript has type 'char' [-Wchar-subscripts]
v[x]->add(depth+1);
^
main.cpp: In member function 'bool trienod::del(int)':
main.cpp:27:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(depth==s.size()) return !cnt;
~~~~~^~~~~~~~~~
main.cpp:29:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(depth+1==s.size()) x=0;
~~~~~~~^~~~~~~~~~
main.cpp:31:9: warning: array subscript has type 'char' [-Wchar-subscripts]
if(v[x]->del(depth+1)){
^
main.cpp:32:14: warning: array subscript has type 'char' [-Wchar-subscripts]
delete v[x];
^
main.cpp:33:7: warning: array subscript has type 'char' [-Wchar-subscripts]
v[x]=nullptr;
^
main.cpp: In member function 'int trienod::srcf(int)':
main.cpp:38:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(depth==s.size()) return cnt;
~~~~~^~~~~~~~~~
main.cpp:40:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(depth+1==s.size()) x=0;
~~~~~~~^~~~~~~~~~
main.cpp:42:9: warning: array subscript has type 'char' [-Wchar-subscripts]
if(v[x]==nullptr) return 0;
^
main.cpp:43:13: warning: array subscript has type 'char' [-Wchar-subscripts]
return v[x]->srcf(depth+1);
^
main.cpp: In member function 'int trienod::srcp(int)':
main.cpp:46:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(depth+1==s.size()) return depth;
~~~~~~~^~~~~~~~~~
main.cpp:48:9: warning: array subscript has type 'char' [-Wchar-subscripts]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 5 | 5 |
| 2 | 3ms | 131kb | OK | 5 | 5 |
| 3 | 3ms | 131kb | OK | 5 | 5 |
| 4 | 3ms | 131kb | OK | 5 | 5 |
| 5 | 4ms | 131kb | OK | 5 | 5 |
| 6 | 4ms | 131kb | OK | 5 | 5 |
| 7 | 7ms | 262kb | OK | 5 | 5 |
| 8 | 8ms | 262kb | OK | 5 | 5 |
| 9 | 14ms | 655kb | OK | 5 | 5 |
| 10 | 23ms | 1966kb | OK | 5 | 5 |
| 11 | 24ms | 393kb | OK | 5 | 5 |
| 12 | 49ms | 3932kb | OK | 5 | 5 |
| 13 | 56ms | 3276kb | OK | 5 | 5 |
| 14 | 50ms | 917kb | OK | 5 | 5 |
| 15 | 57ms | 917kb | OK | 5 | 10 |
| 16 | 167ms | 25952kb | OK | 5 |
| 17 | 62ms | 262kb | OK | 5 | 10 |
| 18 | 204ms | 19398kb | OK | 5 |
| 19 | 54ms | 393kb | OK | 5 | 0 |
| 20 | 134ms | 30494kb | Memory limit exceeded | 0 |
| Punctaj total | 90 |