Pagini recente » Borderou de evaluare (job #969228) | Borderou de evaluare (job #608721) | Borderou de evaluare (job #1277844) | Borderou de evaluare (job #1919866) | Borderou de evaluare (job #1514323)
Borderou de evaluare (job #1514323)
Raport evaluator
Compilare:
user.cpp: In function ‘int lee(int, int)’:
user.cpp:31:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( v[x_aa][y_aa] >= v[x[s]][y[s]] + (q[x_aa][y_aa] - 'a') ){
^
user.cpp:31:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( v[x_aa][y_aa] >= v[x[s]][y[s]] + (q[x_aa][y_aa] - 'a') ){
^
user.cpp:35:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[x_aa][y_aa] = v[x[s]][y[s]] + q[x_aa][y_aa] - 'a';
^
user.cpp:35:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[x_aa][y_aa] = v[x[s]][y[s]] + q[x_aa][y_aa] - 'a';
^
user.cpp:17:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, s, d, k, x_aa, y_aa;
^
user.cpp:17:21: warning: unused variable ‘k’ [-Wunused-variable]
int i, j, s, d, k, x_aa, y_aa;
^
user.cpp:46:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void back_lee(int, int)’:
user.cpp:54:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x_aa = x - x_a[vv[x][y]];
^
user.cpp:55:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
y_aa = y - y_a[vv[x][y]];
^
user.cpp: In function ‘int main()’:
user.cpp:84:21: warning: unused variable ‘s’ [-Wunused-variable]
int n, m, i, j, s, t, d, k;
^
user.cpp:84:24: warning: unused variable ‘t’ [-Wunused-variable]
int n, m, i, j, s, t, d, k;
^
user.cpp:84:27: warning: unused variable ‘d’ [-Wunused-variable]
int n, m, i, j, s, t, d, k;
^
user.cpp:84:30: warning: unused variable ‘k’ [-Wunused-variable]
int n, m, i, j, s, t, d, k;
^
user.cpp:81:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drum6.in","r",stdin);
^
user.cpp:82:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drum6.out","w",stdout);
^
user.cpp:86:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%*c",&n,&m);
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 496kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 0ms | 504kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 936kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
4 | 0ms | 884kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 932kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 16ms | 2812kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 72ms | 5380kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 68ms | 5336kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 72ms | 5384kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
10 | 88ms | 5372kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |