Borderou de evaluare (job #54265)
Utilizator | Data | 24 aprilie 2007 17:33:05 | |
---|---|---|---|
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' and 'double ()(double)throw ()' to binary 'operator+'
user.cpp:37: error: invalid operands of types 'double' and 'double ()(double)throw ()' to binary 'operator-'
user.cpp:45: error: assignment of function 'double y1(double)'
user.cpp:45: error: cannot convert 'double' to 'double ()(double)throw ()' in assignment
user.cpp:46: error: invalid operands of types 'double' and 'double ()(double)throw ()' to binary 'operator+'
user.cpp:47: error: invalid operands of types 'double' and 'double ()(double)throw ()' to binary 'operator-'
user.cpp:54: error: assignment of function 'double y1(double)'
user.cpp:54: error: cannot convert 'double' to 'double ()(double)throw ()' in assignment
user.cpp:55: error: invalid operands of types 'double' and 'double ()(double)throw ()' to binary 'operator+'
user.cpp:56: error: invalid operands of types 'double' and 'double ()(double)throw ()' to binary 'operator-'
user.cpp:58: warning: passing 'double' for argument 1 to 'int abs(int)'
user.cpp: In function 'void calc()':
user.cpp:98: error: assignment of function 'double y1(double)'
user.cpp:98: error: cannot convert 'double' to 'double ()(double)throw ()' in assignment
user.cpp:99: error: invalid operands of types 'double' and 'double ()(double)throw ()' to binary 'operator+'
user.cpp:100: error: invalid operands of types 'double' and 'double ()(double)throw ()' to binary 'operator-'
user.cpp:108: error: assignment of function 'double y1(double)'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !