Borderou de evaluare (job #174999)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Nod (clasa a 7-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 21 dec. 2015 19:11:30 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:37: error: ‘int rand’ redeclared as different kind of symbol
/usr/include/stdlib.h:380:12: error: previous declaration of ‘int rand()’
user.cpp: In function ‘int decodez(char*)’:
user.cpp:12:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
user.cpp: In function ‘int main()’:
user.cpp:118:12: error: assignment of function ‘int rand()’
user.cpp:118:12: error: cannot convert ‘int’ to ‘int()throw ()’ in assignment
user.cpp:132:38: error: ISO C++ forbids incrementing a pointer of type ‘int (*)()throw ()’ [-fpermissive]
user.cpp:132:38: error: lvalue required as increment operand