Pagini recente » Cod sursa (job #1789028) | Cod sursa (job #2653700) | Borderou de evaluare (job #1535699) | Cod sursa (job #1159778) | Borderou de evaluare (job #2664344)
Borderou de evaluare (job #2664344)
Raport evaluator
Compilare:
main.cpp: In member function 'void trienod::add()':
main.cpp:19:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(depth==s.size()) return;
~~~~~^~~~~~~~~~
main.cpp:21:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(depth+1==s.size()) x=0;
~~~~~~~^~~~~~~~~~
main.cpp:23:9: warning: array subscript has type 'char' [-Wchar-subscripts]
if(v[x]==nullptr) v[x]=new trienod(depth+1);
^
main.cpp:23:24: warning: array subscript has type 'char' [-Wchar-subscripts]
if(v[x]==nullptr) v[x]=new trienod(depth+1);
^
main.cpp:24:6: warning: array subscript has type 'char' [-Wchar-subscripts]
v[x]->add();
^
main.cpp: In member function 'bool trienod::del()':
main.cpp:28:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(depth==s.size()) return !cnt;
~~~~~^~~~~~~~~~
main.cpp:30:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(depth+1==s.size()) x=0;
~~~~~~~^~~~~~~~~~
main.cpp:32:9: warning: array subscript has type 'char' [-Wchar-subscripts]
if(v[x]->del()){
^
main.cpp:33:7: warning: array subscript has type 'char' [-Wchar-subscripts]
v[x]=nullptr;
^
main.cpp:34:14: warning: array subscript has type 'char' [-Wchar-subscripts]
delete v[x];
^
main.cpp: In member function 'int trienod::srcf()':
main.cpp:39:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(depth==s.size()) return cnt;
~~~~~^~~~~~~~~~
main.cpp:41:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(depth+1==s.size()) x=0;
~~~~~~~^~~~~~~~~~
main.cpp:43:9: warning: array subscript has type 'char' [-Wchar-subscripts]
if(v[x]==nullptr) return 0;
^
main.cpp:44:13: warning: array subscript has type 'char' [-Wchar-subscripts]
return v[x]->srcf();
^
main.cpp: In member function 'int trienod::srcp()':
main.cpp:47:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(depth+1==s.size()) return depth;
~~~~~~~^~~~~~~~~~
main.cpp:49:9: warning: array subscript has type 'char' [-Wchar-subscripts]
| 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 | 9ms | 262kb | OK | 5 | 5 |
| 9 | 16ms | 655kb | OK | 5 | 5 |
| 10 | 25ms | 1966kb | OK | 5 | 5 |
| 11 | 26ms | 393kb | OK | 5 | 5 |
| 12 | 55ms | 4063kb | OK | 5 | 5 |
| 13 | 62ms | 3276kb | OK | 5 | 5 |
| 14 | 43ms | 917kb | OK | 5 | 5 |
| 15 | 66ms | 917kb | OK | 5 | 10 |
| 16 | 177ms | 28049kb | OK | 5 |
| 17 | 114ms | 17301kb | OK | 5 | 10 |
| 18 | 153ms | 21626kb | OK | 5 |
| 19 | 60ms | 393kb | OK | 5 | 0 |
| 20 | 164ms | 30494kb | Memory limit exceeded | 0 |
| Punctaj total | 90 |