Borderou de evaluare (job #1486901)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 15 septembrie 2015 18:10:47
Problema Chernel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:2:61: error: size of array ‘x’ is too large int n,m,i,j,z[100001],u[20],v,t,k,l,p,h,c,e,x[100001][100001]; ^ user.cpp: In function ‘int main()’: user.cpp:7:21: error: ‘x’ was not declared in this scope for(p=l,x[k][p]=0;j%p==0;x[k][p]++,j/=p); ^ user.cpp:9:13: error: ‘x’ was not declared in this scope x[k][j]=1; ^ user.cpp:29:19: error: ‘x’ was not declared in this scope z[k]+=x[n-i][k]-x[i][k]; ^ user.cpp:4:90: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("chernel.in","r",stdin),freopen("chernel.out","w",stdout),scanf("%d%d",&n,&m); ^ user.cpp:4:90: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:4:90: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]

Ceva nu functioneaza?