Borderou de evaluare (job #1799709)

Utilizator FlorinHajaFlorin Gabriel Haja FlorinHaja Data 6 noiembrie 2016 17:58:17
Problema Expresii algebrice Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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
10ms468kbIncorect0
Punctaj total0

Ceva nu functioneaza?