Borderou de evaluare (job #1208674)

Utilizator enedumitruene dumitru enedumitru Data 16 iulie 2014 12:52:04
Problema Suma3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

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
10ms280kbOK10
288ms284kbIncorect0
30ms276kbOK10
40ms276kbOK10
50ms284kbOK10
60ms276kbOK10
764ms276kbIncorect0
8120ms284kbIncorect0
9Depăşit256kbTime limit exceeded.0
10Depăşit252kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?