Borderou de evaluare (job #54268)
Utilizator | Data | 24 aprilie 2007 17:47:57 | |
---|---|---|---|
Problema | Triunghi2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare in evaluator:
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/backward/fstream.h:31,
from user.cpp:1:
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
user.cpp:5: error: 'double y1' redeclared as different kind of symbol
/usr/include/bits/mathcalls.h:242: error: previous declaration of 'double y1(double)'
user.cpp: In function 'void fantana()':
user.cpp:35: error: assignment of function 'double y1(double)'
user.cpp:35: error: cannot convert 'double' to 'double ()(double)throw ()' in assignment
user.cpp:36: error: invalid operands of types 'double ()(double)throw ()' and 'double' to binary 'operator+'
user.cpp:37: error: cannot convert 'double (*)(double)throw ()' to 'double' for argument '1' to 'double sqrt(double)'
user.cpp:38: error: invalid operands of types 'double' and 'double ()(double)throw ()' to binary 'operator+'
user.cpp:39: error: invalid operands of types 'double' and 'double ()(double)throw ()' to binary 'operator-'
user.cpp:47: error: assignment of function 'double y1(double)'
user.cpp:47: error: cannot convert 'double' to 'double ()(double)throw ()' in assignment
user.cpp:48: error: invalid operands of types 'double' and 'double ()(double)throw ()' to binary 'operator+'
user.cpp:49: error: invalid operands of types 'double' and 'double ()(double)throw ()' to binary 'operator-'
user.cpp:56: error: assignment of function 'double y1(double)'
user.cpp:56: error: cannot convert 'double' to 'double ()(double)throw ()' in assignment
user.cpp:57: error: invalid operands of types 'double' and 'double ()(double)throw ()' to binary 'operator+'
user.cpp:58: error: invalid operands of types 'double' and 'double ()(double)throw ()' to binary 'operator-'
user.cpp:60: warning: passing 'double' for argument 1 to 'int abs(int)'
user.cpp: In function 'void calc()':
user.cpp:100: error: assignment of function 'double y1(double)'
user.cpp:100: error: cannot convert 'double' to 'double ()(double)throw ()' in assignment
user.cpp:101: error: invalid operands of types 'double' and 'double ()(double)throw ()' to binary 'operator+'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !