Borderou de evaluare (job #1480773)

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

Raport evaluator

Eroare de compilare: user.cpp:7:39: error: ‘double fmin’ redeclared as different kind of symbol double C[205][205],F[205][205],z,flow,fmin; ^ In file included from /usr/include/features.h:357:0, from /usr/include/stdio.h:28, from user.cpp:1: /usr/include/i386-linux-gnu/bits/mathcalls.h:343:1: error: previous declaration of ‘double fmin(double, double)’ __MATHCALL (fmin,, (_Mdouble_ __x, _Mdouble_ __y)); ^ user.cpp: In function ‘int BF()’: user.cpp:18:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j<G[nod].size();j++) { ^ user.cpp: In function ‘int main()’: user.cpp:32:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<G[N].size();i++) { ^ user.cpp:33:9: error: ‘nod’ was not declared in this scope nod=G[N][i]; ^ user.cpp:36:23: error: overloaded function with no contextual type information TT[N]=nod,fmin=2147483647.0; ^ user.cpp:39:18: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘double’ to binary ‘operator==’ if(fmin==0.0) ^ user.cpp:43:13: error: invalid operands of types ‘double’ and ‘<unresolved overloaded function type>’ to binary ‘operator+’ flow+=fmin; ^ user.cpp:43:13: error: in evaluation of ‘operator+=(double, <unresolved overloaded function type>)’ 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("%d%d%lf",&x,&y,&z),C[x][y]+=log(z),G[x].push_back(y),G[y].push_back(x); ^

Ceva nu functioneaza?