Borderou de evaluare (job #1514327)

Utilizator catu_bogdan_99Catu Bogdan catu_bogdan_99 Data 31 octombrie 2015 00:01:56
Problema Drum6 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void 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: In function ‘int back_lee(int, int)’: user.cpp:56:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] x_aa = xx - x_a[vv[xx][yy]]; ^ user.cpp:57:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] y_aa = yy - y_a[vv[xx][yy]]; ^ user.cpp: In function ‘int main()’: user.cpp:112:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] printf("%c",q[x[i]][y[i]]); ^ user.cpp:112:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] printf("%c",q[x[i]][y[i]]); ^ user.cpp:95:21: warning: unused variable ‘s’ [-Wunused-variable] int n, m, i, j, s, t, d, k; ^ user.cpp:95:27: warning: unused variable ‘d’ [-Wunused-variable] int n, m, i, j, s, t, d, k; ^ user.cpp:95:30: warning: unused variable ‘k’ [-Wunused-variable] int n, m, i, j, s, t, d, k; ^ user.cpp:92: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:93: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:97: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
10ms308kbKilled by signal 11(SIGSEGV).00
20ms324kbKilled by signal 11(SIGSEGV).0
30ms748kbKilled by signal 11(SIGSEGV).00
40ms704kbKilled by signal 11(SIGSEGV).0
50ms752kbKilled by signal 11(SIGSEGV).0
620ms2616kbKilled by signal 11(SIGSEGV).00
768ms5168kbKilled by signal 11(SIGSEGV).00
868ms5128kbKilled by signal 11(SIGSEGV).0
968ms5172kbKilled by signal 11(SIGSEGV).00
1068ms5164kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?