Pagini recente » Borderou de evaluare (job #133845) | Borderou de evaluare (job #1091303) | Borderou de evaluare (job #794183) | Borderou de evaluare (job #355818) | Borderou de evaluare (job #1208674)
Borderou de evaluare (job #1208674)
Raport evaluator
Compilare:
user.cpp: In function ‘void back()’:
user.cpp:23:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
do { while(x[k]<nr[t[k]])
^
user.cpp:25:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
l=z[t[k]][x[k]][0]; c=z[t[k]][x[k]][1];;
^
user.cpp:25:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
l=z[t[k]][x[k]][0]; c=z[t[k]][x[k]][1];;
^
user.cpp:25:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
l=z[t[k]][x[k]][0]; c=z[t[k]][x[k]][1];;
^
user.cpp:25:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
l=z[t[k]][x[k]][0]; c=z[t[k]][x[k]][1];;
^
user.cpp:36:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(k>=0 && yv[k]) v[lin[k]][col[k]]=yv[k];
^
user.cpp:36:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(k>=0 && yv[k]) v[lin[k]][col[k]]=yv[k];
^
user.cpp: In function ‘int main()’:
user.cpp:45:46: 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:58:64: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(int q=1;q<=nrv;q++) nr[n]++, z[n][nr[n]][0]=vec[q].l, z[n][nr[n]][1]=vec[q].c;
^
user.cpp:58:89: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(int q=1;q<=nrv;q++) nr[n]++, z[n][nr[n]][0]=vec[q].l, z[n][nr[n]][1]=vec[q].c;
^
user.cpp:61:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(int q=1;q<=n;q++) nr[0]++, z[0][nr[0]][0]=e[q].l, z[0][nr[0]][1]=e[q].c;
^
user.cpp:61:69: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(int q=1;q<=n;q++) nr[0]++, z[0][nr[0]][0]=e[q].l, z[0][nr[0]][1]=e[q].c;
^
user.cpp:67: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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 88ms | 284kb | Incorect | 0 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 276kb | OK | 10 |
5 | 0ms | 284kb | OK | 10 |
6 | 0ms | 276kb | OK | 10 |
7 | 64ms | 276kb | Incorect | 0 |
8 | 120ms | 284kb | Incorect | 0 |
9 | Depăşit | 256kb | Time limit exceeded. | 0 |
10 | Depăşit | 252kb | Time limit exceeded. | 0 |
Punctaj total | 50 |