Pagini recente » Borderou de evaluare (job #512744) | Borderou de evaluare (job #2299370) | Borderou de evaluare (job #864372) | Borderou de evaluare (job #675326) | Borderou de evaluare (job #2699573)
Borderou de evaluare (job #2699573)
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]=2;
^
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 | 3ms | 131kb | Incorect | 0 | 0 |
4 | 47ms | 5808kb | Incorect | 0 | 0 |
5 | 21ms | 1699kb | Incorect | 0 | 0 |
6 | 34ms | 1744kb | Incorect | 0 | 0 |
7 | 22ms | 1695kb | Incorect | 0 | 0 |
8 | 34ms | 1728kb | Incorect | 0 |
9 | 23ms | 1916kb | Incorect | 0 | 0 |
10 | 37ms | 2248kb | Incorect | 0 |
Punctaj total | 0 |