Pagini recente » Borderou de evaluare (job #1194696) | Borderou de evaluare (job #586011) | Borderou de evaluare (job #277570) | Borderou de evaluare (job #2219103) | Borderou de evaluare (job #1874665)
Borderou de evaluare (job #1874665)
Raport evaluator
Compilare:
user.cpp: In function ‘void lee()’:
user.cpp:28:48: warning: array subscript has type ‘char’ [-Wchar-subscripts]
xn=c[prim].x+dx[d]*pas[c[prim].cpas];
^
user.cpp:29:48: warning: array subscript has type ‘char’ [-Wchar-subscripts]
yn=c[prim].y+dy[d]*pas[c[prim].cpas];
^
user.cpp:32:52: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (s[xn][yn]<a[xn][yn]+s[c[prim].x][c[prim].y]){
^
user.cpp:32:63: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (s[xn][yn]<a[xn][yn]+s[c[prim].x][c[prim].y]){
^
user.cpp:33:52: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[xn][yn]=a[xn][yn]+s[c[prim].x][c[prim].y];
^
user.cpp:33:63: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[xn][yn]=a[xn][yn]+s[c[prim].x][c[prim].y];
^
user.cpp: In function ‘void reconstituire(char, char)’:
user.cpp:50:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
reconstituire(prev[x][y].x, prev[x][y].y);
^
user.cpp:50:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
reconstituire(prev[x][y].x, prev[x][y].y);
^
user.cpp:50:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
reconstituire(prev[x][y].x, prev[x][y].y);
^
user.cpp:50:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
reconstituire(prev[x][y].x, prev[x][y].y);
^
user.cpp: In function ‘int main()’:
user.cpp:55:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sudest.in", "r", stdin);
^
user.cpp:56:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sudest.out", "w", stdout);
^
user.cpp:58:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd", &n);
^
user.cpp:61:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd", &a[i][j]);
^
user.cpp:62:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd", &k);
^
user.cpp:64:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd", &pas[i]);
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 288kb | OKAY! | 10 |
| 2 | 0ms | 304kb | OKAY! | 10 |
| 3 | 0ms | 300kb | OKAY! | 10 |
| 4 | 0ms | 308kb | OKAY! | 10 |
| 5 | 0ms | 316kb | OKAY! | 10 |
| 6 | 0ms | 328kb | OKAY! | 10 |
| 7 | 0ms | 336kb | OKAY! | 10 |
| 8 | 0ms | 336kb | OKAY! | 10 |
| 9 | 12ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 0ms | 288kb | OKAY! | 10 |
| Punctaj total | 90 |