Pagini recente » Borderou de evaluare (job #774240) | Borderou de evaluare (job #202404) | Borderou de evaluare (job #1937954) | Borderou de evaluare (job #171327) | Borderou de evaluare (job #1223418)
Borderou de evaluare (job #1223418)
Raport evaluator
Compilare:
user.cpp: In function ‘void back(char, char, char, char)’:
user.cpp:16:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ s[k]=s[k-1]+p[n-k+1][val];
^
user.cpp:16:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ s[k]=s[k-1]+p[n-k+1][val];
^
user.cpp:17:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[k]<smin)
^
user.cpp:18:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ x[k]=val;
^
user.cpp:19:8: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[lin][col]=0;
^
user.cpp:19:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[lin][col]=0;
^
user.cpp:32:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[lin][col]=x[k];
^
user.cpp:32:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[lin][col]=x[k];
^
user.cpp:32:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[lin][col]=x[k];
^
user.cpp: In function ‘int main()’:
user.cpp:41:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
{ scanf("%d",&v[i][j]);
^
user.cpp:58:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",smin);
^
user.cpp:37:29: warning: unused variable ‘w’ [-Wunused-variable]
short i,j,r,l,c,lp,cp,t,w;
^
user.cpp:38: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:38: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:39:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp:41: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 | 292kb | OK | 10 |
2 | 20ms | 448kb | OK | 10 |
3 | 0ms | 316kb | OK | 10 |
4 | 0ms | 336kb | OK | 10 |
5 | 0ms | 336kb | OK | 10 |
6 | 0ms | 356kb | OK | 10 |
7 | 8ms | 364kb | OK | 10 |
8 | 16ms | 408kb | OK | 10 |
9 | Depăşit | 388kb | Time limit exceeded. | 0 |
10 | 12ms | 432kb | OK | 10 |
Punctaj total | 90 |