Pagini recente » Borderou de evaluare (job #2136638) | Borderou de evaluare (job #520973) | Borderou de evaluare (job #335868) | Borderou de evaluare (job #1904807) | Borderou de evaluare (job #1210600)
Borderou de evaluare (job #1210600)
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:36:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
{ scanf("%d",&v[i][j]);
^
user.cpp:53:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",smin);
^
user.cpp:33: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:33: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:34: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:36: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 | 308kb | OK | 10 |
2 | 64ms | 324kb | OK | 10 |
3 | 0ms | 312kb | OK | 10 |
4 | 0ms | 312kb | OK | 10 |
5 | 0ms | 316kb | OK | 10 |
6 | 0ms | 320kb | OK | 10 |
7 | 48ms | 316kb | OK | 10 |
8 | 84ms | 320kb | OK | 10 |
9 | Depăşit | 296kb | Time limit exceeded. | 0 |
10 | Depăşit | 292kb | Time limit exceeded. | 0 |
Punctaj total | 80 |