Borderou de evaluare (job #444009)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Peridia (clasa a 6-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 7 mar. 2019 18:11:22 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:26: error: ‘int y1’ redeclared as different kind of symbol
/usr/include/i386-linux-gnu/bits/mathcalls.h:243:1: error: previous declaration of ‘double y1(double)’
user.cpp: In function ‘void rotire(char)’:
user.cpp:28:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
user.cpp:34:10: error: ISO C++ forbids incrementing a pointer of type ‘double (*)(double)throw ()’ [-fpermissive]
user.cpp:34:10: error: lvalue required as increment operand
user.cpp:36:16: warning: the address of ‘double y1(double)’ will always evaluate as ‘true’ [-Waddress]
user.cpp:42:10: error: ISO C++ forbids decrementing a pointer of type ‘double (*)(double)throw ()’ [-fpermissive]
user.cpp:42:10: error: lvalue required as decrement operand
user.cpp: In function ‘int main()’:
user.cpp:57:11: error: assignment of function ‘double y1(double)’
user.cpp:57:11: error: cannot convert ‘int’ to ‘double(double)throw ()’ in assignment
user.cpp:62:20: error: invalid types ‘int [1001][double(double)throw ()]’ for array subscript