Pagini recente » Cod sursa (job #1464151) | Cod sursa (job #136305) | Borderou de evaluare (job #1866799) | Cod sursa (job #355410) | Borderou de evaluare (job #2699575)
Borderou de evaluare (job #2699575)
Raport evaluator
Compilare:
main.cpp: In function 'void add(std::__cxx11::string, int)':
main.cpp:20:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s.size();i++)
~^~~~~~~~~
main.cpp:26:23: warning: array subscript has type 'char' [-Wchar-subscripts]
if(tree[poz].next[ch]!=0)
^
main.cpp:28:25: warning: array subscript has type 'char' [-Wchar-subscripts]
poz=tree[poz].next[ch];
^
main.cpp:37:21: warning: array subscript has type 'char' [-Wchar-subscripts]
tree[poz].next[ch]=n;
^
main.cpp:41:49: warning: array subscript has type 'char' [-Wchar-subscripts]
if(s[i-tree[f].len-1]==ch && tree[f].next[ch]!=0)
^
main.cpp:43:23: warning: array subscript has type 'char' [-Wchar-subscripts]
f=tree[f].next[ch];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | Incorect | 0 | 0 |
| 2 | 2ms | 131kb | Incorect | 0 | 0 |
| 3 | 3ms | 131kb | Incorect | 0 | 0 |
| 4 | 153ms | 32337kb | Incorect | 0 | 0 |
| 5 | 145ms | 32452kb | Incorect | 0 | 0 |
| 6 | 141ms | 32346kb | Incorect | 0 | 0 |
| 7 | 151ms | 31952kb | Incorect | 0 | 0 |
| 8 | 66ms | 9531kb | Incorect | 0 |
| 9 | 149ms | 32518kb | Incorect | 0 | 0 |
| 10 | 157ms | 32112kb | Incorect | 0 |
| Punctaj total | 0 |