Pagini recente » Borderou de evaluare (job #1165183) | Borderou de evaluare (job #2510467) | Borderou de evaluare (job #1571303) | Borderou de evaluare (job #1987680) | Borderou de evaluare (job #1209129)
Borderou de evaluare (job #1209129)
Raport evaluator
Compilare:
user.cpp: In function ‘void back(int, int, int)’:
user.cpp:24:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[k]=s[k-1]+p[k][x[k]];
^
user.cpp:33:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(v[z[m][r][0]][z[m][r][1]])
^
user.cpp:33:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(v[z[m][r][0]][z[m][r][1]])
^
user.cpp: In function ‘int main()’:
user.cpp:47:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
for(j=1;j<=b;j++) scanf("%d ",&v[i][j]);
^
user.cpp:54:56: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(v[l][c]) nr[n]++, z[n][nr[n]][0]=l, z[n][nr[n]][1]=c;
^
user.cpp:54:74: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(v[l][c]) nr[n]++, z[n][nr[n]][0]=l, z[n][nr[n]][1]=c;
^
user.cpp:63:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",smin);
^
user.cpp:44: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:44: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:45:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&a,&b);
^
user.cpp:47:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j=1;j<=b;j++) scanf("%d ",&v[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Incorect | 0 |
2 | 32ms | 276kb | Incorect | 0 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 0ms | 272kb | Incorect | 0 |
5 | 0ms | 280kb | Incorect | 0 |
6 | 0ms | 276kb | Incorect | 0 |
7 | 48ms | 276kb | Incorect | 0 |
8 | 84ms | 284kb | Incorect | 0 |
9 | Depăşit | 248kb | Time limit exceeded. | 0 |
10 | Depăşit | 252kb | Time limit exceeded. | 0 |
Punctaj total | 0 |