Borderou de evaluare (job #1483243)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 8 septembrie 2015 23:23:24
Problema Redu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(D[i][j] > D[i][j-2] + A[ S[j-1] ][ S[j] ]) ^ user.cpp:29:56: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(D[i][j] > D[i][j-2] + A[ S[j-1] ][ S[j] ]) ^ user.cpp:30:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[i][j] = D[i][j-2] + A[ S[j-1] ][ S[j] ]; ^ user.cpp:30:57: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[i][j] = D[i][j-2] + A[ S[j-1] ][ S[j] ]; ^ user.cpp:32:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(D[i][j] > D[i+2][j] + A[ S[i] ][ S[i+1] ]) ^ user.cpp:32:56: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(D[i][j] > D[i+2][j] + A[ S[i] ][ S[i+1] ]) ^ user.cpp:33:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[i][j] = D[i+2][j] + A[ S[i] ][ S[i+1] ]; ^ user.cpp:33:57: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[i][j] = D[i+2][j] + A[ S[i] ][ S[i+1] ]; ^ user.cpp:35:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(D[i][j] > D[i+1][j-1] + A[ S[i] ][ S[j] ]) ^ user.cpp:35:56: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(D[i][j] > D[i+1][j-1] + A[ S[i] ][ S[j] ]) ^ user.cpp:36:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[i][j] = D[i+1][j-1] + A[ S[i] ][ S[j] ]; ^ user.cpp:36:57: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[i][j] = D[i+1][j-1] + A[ S[i] ][ S[j] ]; ^ user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("redu.in" ,"r", stdin ); ^ user.cpp:16:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("redu.out","w", stdout); ^ user.cpp:18:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N ); ^ user.cpp:19:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", S+1); ^ user.cpp:23:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms364kbOK10
20ms380kbIncorect0
30ms440kbIncorect0
40ms536kbIncorect0
50ms940kbIncorect0
60ms1344kbIncorect0
70ms1340kbIncorect0
80ms1340kbIncorect0
90ms1340kbIncorect0
100ms1340kbIncorect0
Punctaj total10

Ceva nu functioneaza?