Borderou de evaluare (job #527185)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Roboțel (clasa a 6-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 13 feb. 2020 19:52:49 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:70: error: ‘int chdir [4]’ redeclared as different kind of symbol
/usr/include/unistd.h:498:12: error: previous declaration of ‘int chdir(const char*)’
user.cpp: In function ‘int main()’:
user.cpp:16:14: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:16:15: error: invalid types ‘int [128][int(const char*)throw ()]’ for array subscript
user.cpp:90:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:96:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:13:33: warning: unused variable ‘a’ [-Wunused-variable]
user.cpp:13:36: warning: unused variable ‘b’ [-Wunused-variable]