Borderou de evaluare (job #2702079)

Utilizator Albert_GAlbert G Albert_G Data 2 februarie 2021 19:56:27
Problema Logic Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:11:5: error: 'int index' redeclared as different kind of symbol int index=0; ^~~~~ In file included from /usr/include/c++/6/cstring:42:0, from main.cpp:2: /usr/include/string.h:477:1: note: previous declaration 'const char* index(const char*, int)' index (const char *__s, int __c) __THROW ^~~~~ main.cpp: In function 'bool verificare()': main.cpp:60:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(fr_size()!=v.size()) ~~~~~~~~~^~~~~~~~~~ main.cpp: In function 'bool expresie()': main.cpp:68:20: error: invalid types 'char [256][<unresolved overloaded function type>]' for array subscript while(sir[index]=='|') ^ main.cpp:70:11: error: no pre-increment operator for type ++index; ^~~~~ main.cpp: In function 'bool xor1()': main.cpp:79:20: error: invalid types 'char [256][<unresolved overloaded function type>]' for array subscript while(sir[index]=='^') ^ main.cpp:81:11: error: no pre-increment operator for type ++index; ^~~~~ main.cpp: In function 'bool si()': main.cpp:90:20: error: invalid types 'char [256][<unresolved overloaded function type>]' for array subscript while(sir[index]=='&') ^ main.cpp:92:11: error: no pre-increment operator for type ++index; ^~~~~ main.cpp: In function 'bool factor()': main.cpp:101:20: error: invalid types 'char [256][<unresolved overloaded function type>]' for array subscript while(sir[index]=='~') ^ main.cpp:103:11: error: no pre-increment operator for type ++index; ^~~~~ main.cpp:106:17: error: invalid types 'char [256][<unresolved overloaded function type>]' for array subscript if(sir[index]=='(' ) ^ main.cpp:108:11: error: no pre-increment operator for type ++index; ^~~~~ main.cpp:110:11: error: no pre-increment operator for type ++index; ^~~~~ main.cpp:115:17: error: invalid types 'char [256][<unresolved overloaded function type>]' for array subscript Non zero exit status: 1

Ceva nu functioneaza?