Borderou de evaluare (job #443785)

Utilizator avatar NaeMihnea Nae Mihnea Sebastian NaeMihnea IP ascuns
Problemă Tablou (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 7 mar. 2019 12:17:49 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:31: error: ‘short 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:68:31: error: assignment of function ‘int rand()’ user.cpp:68:31: error: cannot convert ‘short int’ to ‘int()throw ()’ in assignment user.cpp:76:26: error: invalid types ‘short int [11][11][int()throw ()]’ for array subscript user.cpp:86:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] user.cpp:88:24: warning: pointer to a function used in arithmetic [-Wpointer-arith] user.cpp:88:24: error: invalid conversion from ‘int (*)()throw ()’ to ‘short int’ [-fpermissive] user.cpp:104:26: error: invalid types ‘short int [11][11][int()throw ()]’ for array subscript