Borderou de evaluare (job #1206735)

Utilizator enedumitruene dumitru enedumitru Data 11 iulie 2014 00:28:03
Problema Suma3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void prelsol()’: user.cpp:15:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] { smin=s[n]; memcpy (xm,x,n+1);}// for(int i=1;i<=n;i++) xm[i]=x[i];} ^ user.cpp: In function ‘void back(char, char)’: user.cpp:17:8: warning: array subscript has type ‘char’ [-Wchar-subscripts] { s[k]=s[k-1]+p[k][i]; ^ user.cpp:17:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] { s[k]=s[k-1]+p[k][i]; ^ user.cpp:17:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] { s[k]=s[k-1]+p[k][i]; ^ user.cpp:18:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(s[k]<smin) ^ user.cpp:19:8: warning: array subscript has type ‘char’ [-Wchar-subscripts] { w[i]=1; x[k]=i; ^ user.cpp:19:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] { w[i]=1; x[k]=i; ^ user.cpp:22:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] { vector<int>::iterator it=L[i].begin(), sf=L[i].end(); ^ user.cpp:22:54: warning: array subscript has type ‘char’ [-Wchar-subscripts] { vector<int>::iterator it=L[i].begin(), sf=L[i].end(); ^ user.cpp:25:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(!w[y]) ^ user.cpp:29:7: warning: array subscript has type ‘char’ [-Wchar-subscripts] w[i]=0; ^ user.cpp: In function ‘int main()’: user.cpp:37: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:43:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(v[l][c]) L[v[i][j]].push_back(v[l][c]); ^ user.cpp:34:31: 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:34:64: 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:35:24: 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
10ms284kbOK10
228ms296kbOK10
30ms292kbOK10
40ms288kbOK10
50ms288kbOK10
60ms292kbIncorect0
740ms292kbOK10
864ms296kbOK10
9Depăşit264kbTime limit exceeded.0
10Depăşit284kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?