Borderou de evaluare (job #1873346)
Utilizator | Data | 8 februarie 2017 22:59:46 | |
---|---|---|---|
Problema | Eval | Status | done |
Runda | Lista lui wefgef | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:212:5: error: ‘int index’ redeclared as different kind of symbol
int index, modulo;
^
In file included from /usr/include/c++/4.8/cstring:42:0,
from user.cpp:3:
/usr/include/string.h:482:1: error: previous declaration of ‘const char* index(const char*, int)’
index (__const char *__s, int __c) __THROW
^
user.cpp: In function ‘int ComputeExpression()’:
user.cpp:220:25: error: invalid types ‘char [100005][<unresolved overloaded function type>]’ for array subscript
while (expression[index] == '+' || expression[index] == '-') {
^
user.cpp:220:53: error: invalid types ‘char [100005][<unresolved overloaded function type>]’ for array subscript
while (expression[index] == '+' || expression[index] == '-') {
^
user.cpp:221:23: error: invalid types ‘char [100005][<unresolved overloaded function type>]’ for array subscript
if (expression[index] == '+') {
^
user.cpp:222:9: error: no post-increment operator for type
index++;
^
user.cpp:226:9: error: no post-increment operator for type
index++;
^
user.cpp: In function ‘int ComputeTerm()’:
user.cpp:235:25: error: invalid types ‘char [100005][<unresolved overloaded function type>]’ for array subscript
while (expression[index] == '*') {
^
user.cpp:236:8: error: no post-increment operator for type
index++;
^
user.cpp: In function ‘int ComputeFactor()’:
user.cpp:244:22: error: invalid types ‘char [100005][<unresolved overloaded function type>]’ for array subscript
if (expression[index] == '(') {
^
user.cpp:245:8: error: no post-increment operator for type
index++;
^
user.cpp:247:8: error: no post-increment operator for type
index++;
^
user.cpp:249:27: error: invalid types ‘char [100005][<unresolved overloaded function type>]’ for array subscript
else if (expression[index] == '[') {
^
user.cpp:250:8: error: no post-increment operator for type
index++;
^
user.cpp:253:8: error: no post-increment operator for type
index++;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !