Borderou de evaluare (job #143024)

Utilizator avatar raluca1234 Tudor Raluca raluca1234 IP ascuns
Problemă Sir1 (clasa a 8-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 15 apr. 2015 00:10:31 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4: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 main()’: user.cpp:17:14: error: assignment of function ‘int rand()’ user.cpp:17:14: error: cannot convert ‘int’ to ‘int()throw ()’ in assignment user.cpp:20:35: error: invalid operands of types ‘int’ and ‘int()throw ()’ to binary ‘operator*’ user.cpp:24:36: error: invalid operands of types ‘int’ and ‘int()throw ()’ to binary ‘operator*’ user.cpp:27:26: error: invalid operands of types ‘int()throw ()’ and ‘int’ to binary ‘operator*’