Borderou de evaluare (job #1617184)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(k>n*n) op=0;
^
user.cpp: In function ‘long long int linie(int, int)’:
user.cpp:27:12: warning: ‘l’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return l;
^
user.cpp:20:33: warning: ‘cnt’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i][j]==p) cnt++;
^
user.cpp: In function ‘long long int coloana(int, int)’:
user.cpp:43:12: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return c;
^
user.cpp:36:33: warning: ‘cnt’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[j][i]==p) cnt++;
^
user.cpp: In function ‘int main()’:
user.cpp:63:38: warning: ‘l’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(ch=='L') op=linie(k,p);
^
user.cpp:20:33: warning: ‘cnt’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i][j]==p) cnt++;
^
user.cpp:16:9: note: ‘cnt’ was declared here
int cnt,i,j,l;
^
user.cpp:62:40: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(ch=='C') op=coloana(k,p);
^
user.cpp:36:33: warning: ‘cnt’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[j][i]==p) cnt++;
^
user.cpp:32:9: note: ‘cnt’ was declared here
int cnt,i,j,c;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 504kb | Incorect | 0 |
2 | 8ms | 952kb | Incorect | 0 |
3 | 208ms | 1384kb | Incorect | 0 |
4 | 36ms | Depăşit | Memory limit exceeded. | 0 |
5 | 48ms | Depăşit | Memory limit exceeded. | 0 |
6 | 48ms | Depăşit | Memory limit exceeded. | 0 |
7 | 48ms | Depăşit | Memory limit exceeded. | 0 |
8 | 48ms | Depăşit | Memory limit exceeded. | 0 |
9 | 48ms | Depăşit | Memory limit exceeded. | 0 |
10 | 48ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |