Borderou de evaluare (job #1486951)

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

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:6:21: error: ‘w’ was not declared in this scope for(;m%i==0;w[i]++,m/=i); ^ user.cpp:7:12: error: ‘w’ was not declared in this scope if(w[i]) ^ user.cpp:11:9: error: ‘w’ was not declared in this scope w[m]++,u[++u[0]]=m; ^ user.cpp:23:20: error: ‘w’ was not declared in this scope if(z[u[l]]<w[u[l]]) ^ user.cpp:4:94: 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),n--; ^ user.cpp:4:94: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:4:94: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]

Ceva nu functioneaza?