Borderou de evaluare (job #99813)
Utilizator | Data | 11 noiembrie 2007 16:43:19 | |
---|---|---|---|
Problema | Cercuri3 | Status | done |
Runda | Happy Coding 2007 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare in evaluator:
user.cpp:6: error: 'int y1' redeclared as different kind of symbol
/usr/include/bits/mathcalls.h:242: error: previous declaration of 'double y1(double)'
user.cpp: In function 'int main()':
user.cpp:31: warning: format '%d' expects type 'int*', but argument 3 has type 'double (*)(double)throw ()'
user.cpp:32: error: ISO C++ forbids comparison between pointer and integer
user.cpp:44: error: invalid conversion from 'double (*)(double)throw ()' to 'int'
user.cpp:44: error: initializing argument 2 of 'long double dist(int, int, int, int)'
user.cpp: In function 'long double calc()':
user.cpp:76: error: cannot convert 'double ()(double)throw ()' to 'long double' in assignment
user.cpp:76: error: assignment of function 'double y1(double)'
user.cpp:76: error: cannot convert 'int' to 'double ()(double)throw ()' in assignment
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !