|
|||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 343971
Mesaj evaluator:
monede1.cpp: In function `void BellmanFord(int, int)':
monede1.cpp:54: ISO C++ forbids declaration of `x' with no type
monede1.cpp:54: parse error before `:' token
monede1.cpp:63: parse error before `;' token
monede1.cpp:74: ISO C++ forbids declaration of `x' with no type
monede1.cpp:74: parse error before `:' token
monede1.cpp:83: parse error before `;' token
monede1.cpp:74: warning: unused variable `int x'
monede1.cpp:93: parse error before `{' token
monede1.cpp:107: ISO C++ forbids declaration of `x' with no type
monede1.cpp:107: parse error before `:' token
monede1.cpp:112: warning: suggest parentheses around assignment used as truth
value
monede1.cpp:113: parse error before `;' token
monede1.cpp:122: parse error before `{' token
monede1.cpp:128: assignment of function `double fmin(double, double)'
monede1.cpp:128: cannot convert `const double' to `double ()(double, double)
throw ()' in assignment
monede1.cpp:131: no matching function for call to `min(double (&)(double,
double) throw (), int)'
monede1.cpp:135: pointer to a function used in arithmetic
monede1.cpp:135: invalid conversion from `double (*)(double, double) throw ()'
to `int'
monede1.cpp:136: invalid operands of types `int' and `double ()(double, double)
throw ()' to binary `operator-'
monede1.cpp:136: in evaluation of `operator-=(int, double ()(double, double)
throw ())'
monede1.cpp:139: `flow' undeclared (first use this function)
monede1.cpp:139: (Each undeclared identifier is reported only once for each
function it appears in.)
monede1.cpp:141: invalid operands of types `double' and `double ()(double,
double) throw ()' to binary `operator*'
monede1.cpp:145: return-statement with a value, in function declared with a
void return type
monede1.cpp:149: parse error before `{' token
monede1.cpp:151: `y' undeclared (first use this function)
monede1.cpp:151: name lookup of `x' changed for new ISO `for' scoping
monede1.cpp:54: using obsolete binding at `x'
monede1.cpp:153: `cap' undeclared (first use this function)
monede1.cpp:154: `cost' undeclared (first use this function)
monede1.cpp:52: warning: unused variable `int nod'
monede1.cpp:159: parse error before `{' token
monede1.cpp:163: `f' undeclared (first use this function)
monede1.cpp:165: declaration of `S' shadows a parameter
monede1.cpp:165: declaration of `D' shadows a parameter
monede1.cpp:176: `add_edge' undeclared (first use this function)
monede1.cpp:187: `EdmondsKarp' undeclared (first use this function)
monede1.cpp:189: return-statement with a value, in function declared with a
void return type
|
||||||||||||||
ajutor |