Borderou de evaluare (job #472932)

Utilizator avatar contdeprostea2 SUBSCRIBETOPEWDIEPIE contdeprostea2 IP ascuns
Problemă Puzzle (baraj gimnaziu) Compilator cpp
Rundă Baraj gimnaziu Status evaluat
Dată 19 apr. 2019 20:28:25 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:9:5: error: ‘int index’ redeclared as different kind of symbol /usr/include/string.h:482:1: error: previous declaration of ‘const char* index(const char*, int)’ user.cpp: In function ‘void solve()’: user.cpp:20:22: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator==’ user.cpp:24:35: error: invalid types ‘char [255][<unresolved overloaded function type>]’ for array subscript user.cpp:32:24: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator==’ user.cpp:33:23: error: no post-increment operator for type user.cpp:46:15: error: no post-increment operator for type user.cpp: In function ‘int main()’: user.cpp:54:35: error: invalid types ‘char [255][<unresolved overloaded function type>]’ for array subscript user.cpp:61:24: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator==’ user.cpp:62:20: error: no pre-increment operator for type user.cpp:68:15: error: no post-increment operator for type user.cpp:51:33: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:52:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]