Borderou de evaluare (job #93946)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Hole | Compilator | cpp |
Rundă | Tema 10 clasa 8 | Status | evaluat |
Dată | 1 dec. 2014 12:38:13 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:12:17: error: ‘int j1’ redeclared as different kind of symbol
/usr/include/i386-linux-gnu/bits/mathcalls.h:240:1: error: previous declaration of ‘double j1(double)’
user.cpp: In function ‘bool spST()’:
user.cpp:44:24: error: invalid types ‘int [1010][double(double)throw ()]’ for array subscript
user.cpp:44:37: error: invalid types ‘int [1010][double(double)throw ()]’ for array subscript
user.cpp: In function ‘int main()’:
user.cpp:71:13: error: assignment of function ‘double j1(double)’
user.cpp:71:13: error: cannot convert ‘int’ to ‘double(double)throw ()’ in assignment
user.cpp:72:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
user.cpp:74:30: error: invalid operands of types ‘int’ and ‘double(double)throw ()’ to binary ‘operator-’
user.cpp:81:30: error: invalid conversion from ‘double (*)(double)throw ()’ to ‘int’ [-fpermissive]
user.cpp:87:25: error: assignment of function ‘double j1(double)’
user.cpp:87:25: error: cannot convert ‘int’ to ‘double(double)throw ()’ in assignment
user.cpp:49:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:50:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:52:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:56:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp: In function ‘bool spST()’:
user.cpp:45:1: warning: control reaches end of non-void function [-Wreturn-type]