Pagini recente » Borderou de evaluare (job #2681572) | Borderou de evaluare (job #969048) | Borderou de evaluare (job #2338379) | Borderou de evaluare (job #825670) | Borderou de evaluare (job #1223419)
Borderou de evaluare (job #1223419)
Raport evaluator
Compilare:
user.cpp: In function ‘void back(char, char, char, char)’:
user.cpp:20:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ s[k]=s[k-1]+p[n-k+1][val];
^
user.cpp:20:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ s[k]=s[k-1]+p[n-k+1][val];
^
user.cpp:21:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[k]+calc(k)<smin)
^
user.cpp:22:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ x[k]=val;
^
user.cpp:23:8: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[lin][col]=0;
^
user.cpp:23:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[lin][col]=0;
^
user.cpp:36:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[lin][col]=x[k];
^
user.cpp:36:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[lin][col]=x[k];
^
user.cpp:36:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[lin][col]=x[k];
^
user.cpp: In function ‘int main()’:
user.cpp:45:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
{ scanf("%d",&v[i][j]);
^
user.cpp:62:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",smin);
^
user.cpp:42: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:42: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:43: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:45: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 | 440kb | OK | 10 |
3 | 0ms | 312kb | OK | 10 |
4 | 0ms | 328kb | Incorect | 0 |
5 | 0ms | 328kb | Incorect | 0 |
6 | 0ms | 356kb | Incorect | 0 |
7 | 0ms | 364kb | Incorect | 0 |
8 | 4ms | 404kb | OK | 10 |
9 | 20ms | 416kb | OK | 10 |
10 | 0ms | 424kb | Incorect | 0 |
Punctaj total | 50 |