Pagini recente » Borderou de evaluare (job #815143) | Borderou de evaluare (job #1898457) | Borderou de evaluare (job #2185007) | Borderou de evaluare (job #1910769) | Borderou de evaluare (job #2664374)
Borderou de evaluare (job #2664374)
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()) return !cnt;
~~~~~~~^~~~~~~~~~
main.cpp:30:9: warning: array subscript has type 'char' [-Wchar-subscripts]
if(v[x]->del(depth+1)){
^
main.cpp:31:14: warning: array subscript has type 'char' [-Wchar-subscripts]
delete v[x];
^
main.cpp:32:7: warning: array subscript has type 'char' [-Wchar-subscripts]
v[x]=nullptr;
^
main.cpp: In member function 'int trienod::srcf(int)':
main.cpp:37:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(depth+1==s.size()) return ne;
~~~~~~~^~~~~~~~~~
main.cpp:39:9: warning: array subscript has type 'char' [-Wchar-subscripts]
if(v[x]==nullptr) return 0;
^
main.cpp:40: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:43:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(depth+1==s.size()) return depth;
~~~~~~~^~~~~~~~~~
main.cpp:45:9: warning: array subscript has type 'char' [-Wchar-subscripts]
if(v[x]==nullptr) return depth;
^
main.cpp:46: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 | 2ms | 131kb | OK | 5 | 5 |
| 2 | 3ms | 131kb | Incorect | 0 | 0 |
| 3 | 3ms | 131kb | Incorect | 0 | 0 |
| 4 | 3ms | 131kb | Incorect | 0 | 0 |
| 5 | 4ms | 131kb | Incorect | 0 | 0 |
| 6 | 4ms | 131kb | Incorect | 0 | 0 |
| 7 | 7ms | 262kb | Incorect | 0 | 0 |
| 8 | 8ms | 131kb | Incorect | 0 | 0 |
| 9 | 14ms | 524kb | Incorect | 0 | 0 |
| 10 | 20ms | 1441kb | Incorect | 0 | 0 |
| 11 | 23ms | 262kb | Incorect | 0 | 0 |
| 12 | 43ms | 2752kb | Incorect | 0 | 0 |
| 13 | 49ms | 2359kb | Incorect | 0 | 0 |
| 14 | 44ms | 655kb | Incorect | 0 | 0 |
| 15 | 56ms | 655kb | Incorect | 0 | 0 |
| 16 | 118ms | 19005kb | Incorect | 0 |
| 17 | 75ms | 262kb | Incorect | 0 | 0 |
| 18 | 120ms | 13893kb | Incorect | 0 |
| 19 | 65ms | 262kb | Incorect | 0 | 0 |
| 20 | 148ms | 25427kb | Incorect | 0 |
| Punctaj total | 5 |