Pagini recente » Borderou de evaluare (job #3166149) | Borderou de evaluare (job #2643601) | Borderou de evaluare (job #174027) | Borderou de evaluare (job #3264320) | Borderou de evaluare (job #2699574)
Borderou de evaluare (job #2699574)
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 | 3ms | 131kb | Incorect | 0 | 0 |
2 | 2ms | 131kb | Incorect | 0 | 0 |
3 | 2ms | 131kb | Incorect | 0 | 0 |
4 | 138ms | 32337kb | Incorect | 0 | 0 |
5 | 137ms | 32321kb | Incorect | 0 | 0 |
6 | 141ms | 32346kb | Incorect | 0 | 0 |
7 | 150ms | 31952kb | Incorect | 0 | 0 |
8 | 71ms | 9531kb | Incorect | 0 |
9 | 147ms | 32518kb | Incorect | 0 | 0 |
10 | 160ms | 32112kb | Incorect | 0 |
Punctaj total | 0 |