Borderou de evaluare (job #355516)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Extratereștri (clasa a 8-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 22 feb. 2018 19:37:46 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:13:28: error: ‘int kill [20100]’ redeclared as different kind of symbol
/usr/include/signal.h:126:12: error: previous declaration of ‘int kill(__pid_t, int)’
user.cpp: In function ‘int main()’:
user.cpp:26:23: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:26:33: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:26:33: error: assignment of read-only location ‘*(kill + ((unsigned int)i))’
user.cpp:26:33: error: cannot convert ‘int (*)(__pid_t, int)throw () {aka int (*)(int, int)throw ()}’ to ‘int(__pid_t, int)throw () {aka int(int, int)throw ()}’ in assignment
user.cpp:30:23: warning: pointer to a function used in arithmetic [-Wpointer-arith]