Borderou de evaluare (job #548832)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Permutări1 (clasa a 7-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 26 mar. 2020 13:19:25 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:19: error: ‘int kill’ 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 ‘void gen(int, long long int, int)’:
user.cpp:11:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
user.cpp:21:18: error: assignment of function ‘int kill(__pid_t, int)’
user.cpp:21:18: error: cannot convert ‘int’ to ‘int(__pid_t, int)throw () {aka int(int, int)throw ()}’ in assignment
user.cpp:32:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
user.cpp: In function ‘int main()’:
user.cpp:50:14: error: assignment of function ‘int kill(__pid_t, int)’
user.cpp:50:14: error: cannot convert ‘int’ to ‘int(__pid_t, int)throw () {aka int(int, int)throw ()}’ in assignment
user.cpp:41:11: warning: unused variable ‘i’ [-Wunused-variable]