Pagini recente » Borderou de evaluare (job #2021559) | Borderou de evaluare (job #1552220) | Borderou de evaluare (job #1047906) | Borderou de evaluare (job #3038314) | Borderou de evaluare (job #2108949)
Borderou de evaluare (job #2108949)
Raport evaluator
Compilare:
user.cpp: In function ‘void adauga(char*, trie*, int)’:
user.cpp:29:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(t->fiu[delta]==0)
^
user.cpp:30:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t->fiu[delta]=new trie;
^
user.cpp:31:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
adauga(p+1,t->fiu[delta],nruser);
^
user.cpp: In function ‘void act(char*, trie*)’:
user.cpp:44:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
act(p+1,t->fiu[delta]);
^
user.cpp:45:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t->maxval=max(t->maxval,t->fiu[delta]->maxval);
^
user.cpp: In function ‘int caut(char*, trie*)’:
user.cpp:61:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(t->fiu[delta]!=0)
^
user.cpp:62:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return caut(p+1,t->fiu[delta]);
^
In file included from /usr/include/string.h:642:0,
from /usr/include/c++/4.8/cstring:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:48,
from user.cpp:2:
In function ‘void* memset(void*, int, size_t)’,
inlined from ‘trie::trie()’ at user.cpp:17:34:
/usr/include/i386-linux-gnu/bits/string3.h:82:32: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default]
__warn_memset_zero_len ();
^
In function ‘void* memset(void*, int, size_t)’,
inlined from ‘trie::trie()’ at user.cpp:17:34,
inlined from ‘void adauga(char*, trie*, int)’ at user.cpp:30:27:
/usr/include/i386-linux-gnu/bits/string3.h:82:32: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default]
__warn_memset_zero_len ();
^
In function ‘void* memset(void*, int, size_t)’,
inlined from ‘trie::trie()’ at user.cpp:17:34,
inlined from ‘int main()’ at user.cpp:90:21:
/usr/include/i386-linux-gnu/bits/string3.h:82:32: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default]
__warn_memset_zero_len ();
^
In function ‘void* memset(void*, int, size_t)’,
inlined from ‘int main()’ at user.cpp:114:30:
/usr/include/i386-linux-gnu/bits/string3.h:82:32: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default]
__warn_memset_zero_len ();
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 772ms | 130232kb | Incorect | 0 |
Punctaj total | 0 |