Pagini recente » Borderou de evaluare (job #949902) | Borderou de evaluare (job #1624162) | Borderou de evaluare (job #632914) | Borderou de evaluare (job #2308199) | Borderou de evaluare (job #1799712)
Borderou de evaluare (job #1799712)
Raport evaluator
Compilare:
user.cpp: In function ‘long long unsigned int calc(long long unsigned int*, long long unsigned int)’:
user.cpp:19:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i <= l; i++)
^
user.cpp:22:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (w = 1; w < l; w++)
^
user.cpp:23: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:58:9: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘long long unsigned int term()’:
user.cpp:52:25: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[++nv] = fact();
^
user.cpp:52:25: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:52:25: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:49:21: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[++nv] = fact();
^
user.cpp:52:25: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[++nv] = fact();
^
user.cpp:49:21: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[++nv] = fact();
^
user.cpp:49:21: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:52:25: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[++nv] = fact();
^
user.cpp:52:25: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:49:21: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[++nv] = fact();
^
user.cpp:49:21: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:49:21: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp: In function ‘int main()’:
user.cpp:52:25: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[++nv] = fact();
^
user.cpp:34:9: note: ‘x’ was declared here
nit x;
^
user.cpp:49:21: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[++nv] = fact();
^
user.cpp:34:9: note: ‘x’ was declared here
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | Incorect | 0 |
Punctaj total | 0 |