Pagini recente » Borderou de evaluare (job #926892) | Borderou de evaluare (job #1738103) | Borderou de evaluare (job #1007448) | Borderou de evaluare (job #2099353) | Borderou de evaluare (job #1209128)
Borderou de evaluare (job #1209128)
Raport evaluator
Compilare:
user.cpp: In function ‘void back(int, int, int)’:
user.cpp:22:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[k]=s[k-1]+p[k][x[k]];
^
user.cpp:31:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(v[z[m][r][0]][z[m][r][1]])
^
user.cpp:31: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:45: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:52: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:52: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:61: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: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:45: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 | 280kb | OK | 10 |
2 | 32ms | 284kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 276kb | OK | 10 |
5 | 0ms | 284kb | OK | 10 |
6 | 0ms | 280kb | OK | 10 |
7 | 48ms | 280kb | OK | 10 |
8 | 84ms | 284kb | OK | 10 |
9 | Depăşit | 252kb | Time limit exceeded. | 0 |
10 | Depăşit | 252kb | Time limit exceeded. | 0 |
Punctaj total | 80 |