Pagini recente » Borderou de evaluare (job #1533265) | Borderou de evaluare (job #194016) | Borderou de evaluare (job #2904660) | Borderou de evaluare (job #1480542) | Borderou de evaluare (job #1210605)
Borderou de evaluare (job #1210605)
Raport evaluator
Compilare:
user.cpp: In function ‘void back(char, char, int)’:
user.cpp:17:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ x[k]=v[l][c]; v[l][c]=0;
^
user.cpp:17:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ x[k]=v[l][c]; v[l][c]=0;
^
user.cpp:17:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ x[k]=v[l][c]; v[l][c]=0;
^
user.cpp:17:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ x[k]=v[l][c]; v[l][c]=0;
^
user.cpp:18:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[k]=s[k-1]+p[k][x[k]];
^
user.cpp:25:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(v[L[i][r].first][L[i][r].second]) back(L[i][r].first,L[i][r].second,k+1);
^
user.cpp:25:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(v[L[i][r].first][L[i][r].second]) back(L[i][r].first,L[i][r].second,k+1);
^
user.cpp:29:8: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[l][c]=x[k];
^
user.cpp:29:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[l][c]=x[k];
^
user.cpp: In function ‘int main()’:
user.cpp:38:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
{ scanf("%d",&v[i][j]);
^
user.cpp:54:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",smin);
^
user.cpp:35:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma3.in","r",stdin); freopen("suma3.out","w",stdout);
^
user.cpp:35:67: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma3.in","r",stdin); freopen("suma3.out","w",stdout);
^
user.cpp:36:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&a,&b);
^
user.cpp:38:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{ scanf("%d",&v[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | OK | 10 |
2 | 64ms | 312kb | OK | 10 |
3 | 0ms | 304kb | OK | 10 |
4 | 0ms | 308kb | OK | 10 |
5 | 0ms | 304kb | OK | 10 |
6 | 0ms | 304kb | OK | 10 |
7 | 52ms | 308kb | OK | 10 |
8 | 92ms | 308kb | OK | 10 |
9 | Depăşit | 284kb | Time limit exceeded. | 0 |
10 | Depăşit | 280kb | Time limit exceeded. | 0 |
Punctaj total | 80 |