Borderou de evaluare (job #1988515)
Raport evaluator
Compilare:
user.cpp: In function ‘void par(int, int, int, int)’:
user.cpp:17:7: warning: variable ‘cx1’ set but not used [-Wunused-but-set-variable]
int cx1, cy2, cx2, cy1;
^
user.cpp:17:17: warning: variable ‘cx2’ set but not used [-Wunused-but-set-variable]
int cx1, cy2, cx2, cy1;
^
user.cpp: In function ‘int main()’:
user.cpp:162:23: warning: statement has no effect [-Wunused-value]
a[lin][col] == 1;
^
user.cpp:106:42: warning: variable ‘cx1’ set but not used [-Wunused-but-set-variable]
int i, j, x1, y1, x2, y2, dir, xf, yf, cx1, cx2, cy1, cy2, c, ip, ar, lin, col, n1 = 0, n2 = 0, k;
^
user.cpp:106:47: warning: variable ‘cx2’ set but not used [-Wunused-but-set-variable]
int i, j, x1, y1, x2, y2, dir, xf, yf, cx1, cx2, cy1, cy2, c, ip, ar, lin, col, n1 = 0, n2 = 0, k;
^
user.cpp:106:52: warning: variable ‘cy1’ set but not used [-Wunused-but-set-variable]
int i, j, x1, y1, x2, y2, dir, xf, yf, cx1, cx2, cy1, cy2, c, ip, ar, lin, col, n1 = 0, n2 = 0, k;
^
user.cpp:106:57: warning: variable ‘cy2’ set but not used [-Wunused-but-set-variable]
int i, j, x1, y1, x2, y2, dir, xf, yf, cx1, cx2, cy1, cy2, c, ip, ar, lin, col, n1 = 0, n2 = 0, k;
^
user.cpp:106:65: warning: variable ‘ip’ set but not used [-Wunused-but-set-variable]
int i, j, x1, y1, x2, y2, dir, xf, yf, cx1, cx2, cy1, cy2, c, ip, ar, lin, col, n1 = 0, n2 = 0, k;
^
user.cpp:104:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( "elicop.in","r",stdin );
^
user.cpp:105:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( "elicop.out","w",stdout );
^
user.cpp:107:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d%d",&n,&m );
^
user.cpp:110:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d",&a[i][j] );
^
user.cpp:111:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d",&k );
^
user.cpp:114:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d%d%d%d%d",&x1,&y1,&x2,&y2,&dir );
^
user.cpp:146:20: warning: ‘yf’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if ( yf > y2 || yf > y1 )
^
user.cpp:142:20: warning: ‘xf’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if ( xf > x2 || xf > x1 )
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | Like a boss ! | 10 |
2 | 0ms | 288kb | Like a boss ! | 10 |
3 | 0ms | 296kb | Like a boss ! | 10 |
4 | 0ms | 296kb | Like a boss ! | 10 |
5 | 0ms | 296kb | Like a boss ! | 10 |
6 | 0ms | 292kb | Like a boss ! | 10 |
7 | 0ms | 476kb | Like a boss ! | 10 |
8 | 0ms | 332kb | Like a boss ! | 10 |
9 | 0ms | 348kb | Like a boss ! | 10 |
10 | 0ms | 528kb | Like a boss ! | 10 |
Punctaj total | 100 |