Borderou de evaluare (job #1480780)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 3 septembrie 2015 09:47:23
Problema Fear Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int BF()’: user.cpp:13:11: error: ‘s’ was not declared in this scope cd[1]=s,cd[0]=viz[s]=1; ^ user.cpp: In function ‘int main()’: user.cpp:31:18: error: ‘s’ was not declared in this scope for(flow=0.0,s=1;s<n;s++) { ^ user.cpp:31:24: error: ‘n’ was not declared in this scope for(flow=0.0,s=1;s<n;s++) { ^ user.cpp:28:84: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("fear.in","r",stdin),freopen("fear.out","w",stdout),scanf("%d%d",&N,&M); ^ user.cpp:28:84: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:28:84: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:30:86: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u%u%lf",&x,&y,&z),C[x][y]+=log(z),G[x].push_back(y),G[y].push_back(x); ^

Ceva nu functioneaza?