Borderou de evaluare (job #1874665)

Utilizator raluca1234Tudor Raluca raluca1234 Data 10 februarie 2017 12:12:13
Problema Sudest Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

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
10ms288kbOKAY!10
20ms304kbOKAY!10
30ms300kbOKAY!10
40ms308kbOKAY!10
50ms316kbOKAY!10
60ms328kbOKAY!10
70ms336kbOKAY!10
80ms336kbOKAY!10
912msDepăşitMemory limit exceeded.0
100ms288kbOKAY!10
Punctaj total90

Ceva nu functioneaza?