Borderou de evaluare (job #443779)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Tablou (clasa a 6-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 7 mar. 2019 12:10:29 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:42: 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:67:31: error: assignment of function ‘int rand()’
user.cpp:67:31: error: cannot convert ‘int’ to ‘int()throw ()’ in assignment
user.cpp:75:26: error: invalid types ‘int [11][11][int()throw ()]’ for array subscript
user.cpp:85:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
user.cpp:87:24: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:87:24: error: invalid conversion from ‘int (*)()throw ()’ to ‘int’ [-fpermissive]
user.cpp:103:26: error: invalid types ‘int [11][11][int()throw ()]’ for array subscript