Borderou de evaluare (job #1208676)

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

Raport evaluator

Compilare: user.cpp: In function ‘void back()’: user.cpp:24:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] do { while(x[k]<nr[t[k]]) ^ user.cpp:26: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:26: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:26: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:26: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:37:39: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(k>=0 && yv[k]) v[lin[k]][col[k]]=yv[k]; ^ user.cpp:37: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:46: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:54:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(int q=1;q<=nrv;q++) nr[0]++, z[0][nr[0]][0]=vec[q].l, z[0][nr[0]][1]=vec[q].c; ^ user.cpp:54:73: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(int q=1;q<=nrv;q++) nr[0]++, z[0][nr[0]][0]=vec[q].l, z[0][nr[0]][1]=vec[q].c; ^ user.cpp:67: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:67: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:74:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",smin); ^ user.cpp:43: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:43: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:44: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
10ms276kbOK10
260ms284kbOK10
30ms272kbOK10
40ms276kbOK10
50ms284kbOK10
60ms280kbOK10
752ms276kbOK10
896ms280kbOK10
9Depăşit256kbTime limit exceeded.0
10Depăşit256kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?