Borderou de evaluare (job #211070)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Ruine | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 27 feb. 2016 14:10:02 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:10: error: ‘int brk [100001]’ redeclared as different kind of symbol
/usr/include/unistd.h:1061:12: error: previous declaration of ‘int brk(void*)’
user.cpp: In function ‘int main()’:
user.cpp:57:12: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:57:16: error: assignment of read-only location ‘*(brk + ((unsigned int)i))’
user.cpp:57:16: error: cannot convert ‘bool’ to ‘int(void*)throw ()’ in assignment
user.cpp:65:15: warning: pointer to a function used in arithmetic [-Wpointer-arith]