Pagini recente » Borderou de evaluare (job #1029718) | Borderou de evaluare (job #2647275) | Borderou de evaluare (job #3254951) | Borderou de evaluare (job #1973004) | Borderou de evaluare (job #2664383)
Borderou de evaluare (job #2664383)
Raport evaluator
Compilare:
main.cpp: In member function 'void trienod::add(int)':
main.cpp:18:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(depth+1==s.size()){
~~~~~~~^~~~~~~~~~
main.cpp:23:9: warning: array subscript has type 'char' [-Wchar-subscripts]
if(v[x]==nullptr) v[x]=new trienod();
^
main.cpp:23:24: warning: array subscript has type 'char' [-Wchar-subscripts]
if(v[x]==nullptr) v[x]=new trienod();
^
main.cpp:24: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:28:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(depth+1==s.size()){
~~~~~~~^~~~~~~~~~
main.cpp:33:9: warning: array subscript has type 'char' [-Wchar-subscripts]
if(v[x]->del(depth+1)){
^
main.cpp:34:14: warning: array subscript has type 'char' [-Wchar-subscripts]
delete v[x];
^
main.cpp:35:7: warning: array subscript has type 'char' [-Wchar-subscripts]
v[x]=nullptr;
^
main.cpp: In member function 'int trienod::srcf(int)':
main.cpp:40:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(depth+1==s.size()) return ne;
~~~~~~~^~~~~~~~~~
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]
if(v[x]==nullptr) return depth;
^
main.cpp:49:13: warning: array subscript has type 'char' [-Wchar-subscripts]
return v[x]->srcp(depth+1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 3ms | 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 | 5ms | 131kb | OK | 5 | 5 |
| 7 | 7ms | 262kb | OK | 5 | 5 |
| 8 | 8ms | 262kb | OK | 5 | 5 |
| 9 | 14ms | 524kb | OK | 5 | 5 |
| 10 | 20ms | 1441kb | OK | 5 | 5 |
| 11 | 23ms | 262kb | OK | 5 | 5 |
| 12 | 43ms | 2752kb | OK | 5 | 5 |
| 13 | 48ms | 2359kb | OK | 5 | 5 |
| 14 | 46ms | 786kb | OK | 5 | 5 |
| 15 | 44ms | 655kb | OK | 5 | 10 |
| 16 | 134ms | 19005kb | OK | 5 |
| 17 | 74ms | 262kb | OK | 5 | 10 |
| 18 | 127ms | 13893kb | OK | 5 |
| 19 | 65ms | 262kb | OK | 5 | 10 |
| 20 | 147ms | 25559kb | OK | 5 |
| Punctaj total | 100 |