Pagini recente » Borderou de evaluare (job #908849) | Borderou de evaluare (job #2901947) | Borderou de evaluare (job #1387108) | Borderou de evaluare (job #29980) | Borderou de evaluare (job #1799731)
Borderou de evaluare (job #1799731)
Raport evaluator
Compilare:
user.cpp: In function ‘long long unsigned int calc(long long unsigned int*, long long unsigned int)’:
user.cpp:20:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i <= l; i++)
^
user.cpp:23:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (w = 1; w < l; w++)
^
user.cpp:24:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i+w <= l; i++) {
^
user.cpp: In function ‘long long unsigned int eval()’:
user.cpp:59:9: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘bool corect()’:
user.cpp:74:9: warning: unused variable ‘stiva’ [-Wunused-variable]
int stiva[30];
^
user.cpp: In function ‘long long unsigned int term()’:
user.cpp:53:25: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[++nv] = fact();
^
user.cpp:53:25: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:53:25: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:50:21: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[++nv] = fact();
^
user.cpp:53:25: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[++nv] = fact();
^
user.cpp:50:21: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[++nv] = fact();
^
user.cpp:50:21: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:53:25: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[++nv] = fact();
^
user.cpp:53:25: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:50:21: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[++nv] = fact();
^
user.cpp:50:21: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:50:21: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp: In function ‘int main()’:
user.cpp:53:25: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[++nv] = fact();
^
user.cpp:35:9: note: ‘x’ was declared here
nit x;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | Incorect | 0 |
Punctaj total | 0 |