Pagini recente » Borderou de evaluare (job #1388193) | Borderou de evaluare (job #2236297) | Borderou de evaluare (job #1906343) | Borderou de evaluare (job #1582947) | Borderou de evaluare (job #2477277)
Borderou de evaluare (job #2477277)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:48:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ternar.in","r",stdin);
^
main.cpp:49:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ternar.out","w",stdout);
^
main.cpp:50:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
main.cpp:55:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&mat[i][j]);
^
main.cpp: In function 'int cb1(int, int)':
main.cpp:18:19: warning: array subscript is above array bounds [-Warray-bounds]
if(spcol[1][lin][mid]-spcol[1][lin][start-1]==2*(mid-start+1))
~~~~~~~^
main.cpp:18:38: warning: array subscript is above array bounds [-Warray-bounds]
if(spcol[1][lin][mid]-spcol[1][lin][start-1]==2*(mid-start+1))
~~~~~~~^
main.cpp: In function 'int cb2(int, int)':
main.cpp:36:19: warning: array subscript is above array bounds [-Warray-bounds]
if(splin[1][mid][col]-splin[1][start-1][col]==2*(mid-start+1))
~~~~~~~^
main.cpp:36:38: warning: array subscript is above array bounds [-Warray-bounds]
if(splin[1][mid][col]-splin[1][start-1][col]==2*(mid-start+1))
~~~~~~~^
main.cpp: In function 'int main()':
main.cpp:63:35: warning: array subscript is above array bounds [-Warray-bounds]
spcol[1][i][j]=spcol[1][i][j-1]+2*(mat[i][j]==2);
~~~~~~~^
main.cpp:63:20: warning: array subscript is above array bounds [-Warray-bounds]
spcol[1][i][j]=spcol[1][i][j-1]+2*(mat[i][j]==2);
~~~~~~~^
main.cpp:71:35: warning: array subscript is above array bounds [-Warray-bounds]
splin[1][j][i]=splin[1][j-1][i]+2*(mat[j][i]==2);
~~~~~~~^
main.cpp:71:20: warning: array subscript is above array bounds [-Warray-bounds]
splin[1][j][i]=splin[1][j-1][i]+2*(mat[j][i]==2);
~~~~~~~^
main.cpp:18:19: warning: array subscript is above array bounds [-Warray-bounds]
if(spcol[1][lin][mid]-spcol[1][lin][start-1]==2*(mid-start+1))
~~~~~~~^
main.cpp:18:38: warning: array subscript is above array bounds [-Warray-bounds]
if(spcol[1][lin][mid]-spcol[1][lin][start-1]==2*(mid-start+1))
~~~~~~~^
main.cpp:36:19: warning: array subscript is above array bounds [-Warray-bounds]
if(splin[1][mid][col]-splin[1][start-1][col]==2*(mid-start+1))
~~~~~~~^
main.cpp:36:38: warning: array subscript is above array bounds [-Warray-bounds]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | Killed by Signal 11 | 0 | 0 |
2 | 3ms | 262kb | Killed by Signal 11 | 0 |
3 | 3ms | 393kb | Killed by Signal 11 | 0 |
4 | 4ms | 786kb | Killed by Signal 11 | 0 |
5 | 8ms | 1441kb | Killed by Signal 11 | 0 |
6 | 39ms | 3801kb | Killed by Signal 11 | 0 |
7 | 64ms | 7602kb | Killed by Signal 11 | 0 |
8 | 126ms | 13500kb | Killed by Signal 11 | 0 |
9 | 243ms | 14942kb | Killed by Signal 11 | 0 |
10 | 344ms | 18481kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |