Pagini recente » Borderou de evaluare (job #787524) | Borderou de evaluare (job #383804) | Borderou de evaluare (job #2051444) | Borderou de evaluare (job #766554) | Borderou de evaluare (job #1483243)
Borderou de evaluare (job #1483243)
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 |
1 | 0ms | 364kb | OK | 10 |
2 | 0ms | 380kb | Incorect | 0 |
3 | 0ms | 440kb | Incorect | 0 |
4 | 0ms | 536kb | Incorect | 0 |
5 | 0ms | 940kb | Incorect | 0 |
6 | 0ms | 1344kb | Incorect | 0 |
7 | 0ms | 1340kb | Incorect | 0 |
8 | 0ms | 1340kb | Incorect | 0 |
9 | 0ms | 1340kb | Incorect | 0 |
10 | 0ms | 1340kb | Incorect | 0 |
Punctaj total | 10 |