Pagini recente » Borderou de evaluare (job #1723105) | Borderou de evaluare (job #1703030) | Borderou de evaluare (job #121050) | Borderou de evaluare (job #2761993) | Borderou de evaluare (job #1143248)
Borderou de evaluare (job #1143248)
Raport evaluator
Compilare:
user.cpp: In function ‘int split(int, int, int&, int&, int&, int&, int&)’:
user.cpp:31:60: warning: unused variable ‘j’ [-Wunused-variable]
int smax, auxleft1, auxright1, auxleft2, auxright2, i, j;
^
user.cpp: In function ‘int main()’:
user.cpp:59:29: warning: unused variable ‘min1’ [-Wunused-variable]
int n, k, s, j, i, add, min1, si, sj, sk, max1, resi, x, y, z, w, resj, resk, left1, smax, left2, right1, right2, pos, init;
^
user.cpp:59:47: warning: unused variable ‘max1’ [-Wunused-variable]
int n, k, s, j, i, add, min1, si, sj, sk, max1, resi, x, y, z, w, resj, resk, left1, smax, left2, right1, right2, pos, init;
^
user.cpp: In function ‘int split(int, int, int&, int&, int&, int&, int&)’:
user.cpp:41:23: warning: ‘auxright2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[auxright2] + a[auxright1] - a[auxleft2] - a[auxleft1] > smax)
^
user.cpp:41:52: warning: ‘auxleft2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[auxright2] + a[auxright1] - a[auxleft2] - a[auxleft1] > smax)
^
user.cpp:41:38: warning: ‘auxright1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[auxright2] + a[auxright1] - a[auxleft2] - a[auxleft1] > smax)
^
user.cpp:41:66: warning: ‘auxleft1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[auxright2] + a[auxright1] - a[auxleft2] - a[auxleft1] > smax)
^
user.cpp: In function ‘int main()’:
user.cpp:59:77: warning: ‘resk’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int n, k, s, j, i, add, min1, si, sj, sk, max1, resi, x, y, z, w, resj, resk, left1, smax, left2, right1, right2, pos, init;
^
user.cpp:59:71: warning: ‘resj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int n, k, s, j, i, add, min1, si, sj, sk, max1, resi, x, y, z, w, resj, resk, left1, smax, left2, right1, right2, pos, init;
^
user.cpp:115:5: warning: ‘resi’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i = 2; i <= resi; ++ i)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 236kb | Incorect | 0 |
2 | 0ms | 236kb | OK | 10 |
3 | 4ms | 232kb | OK | 10 |
4 | 4ms | 232kb | OK | 10 |
5 | 4ms | 232kb | OK | 10 |
6 | 60ms | 232kb | OK | 10 |
7 | 108ms | 232kb | OK | 10 |
8 | 160ms | 232kb | Incorect | 0 |
9 | 136ms | 232kb | OK | 10 |
10 | 148ms | 232kb | OK | 10 |
Punctaj total | 80 |