Borderou de evaluare (job #1913217)
Utilizator | Data | 8 martie 2017 12:12:08 | |
---|---|---|---|
Problema | Expresie2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int Solve1()’:
user.cpp:20:17: warning: NULL used in arithmetic [-Wpointer-arith]
while(*p != NULL)
^
user.cpp: In function ‘int numar()’:
user.cpp:38:20: error: ‘p’ was not declared in this scope
while(isdigit(*p))
^
user.cpp: In function ‘int sum_expr()’:
user.cpp:51:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:59:5: error: ‘p’ was not declared in this scope
p = c;
^
user.cpp:65:44: error: ‘mij_expr’ was not declared in this scope
else if(*p == '[') S+=mij_expr();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !