Borderou de evaluare (job #1570747)
Utilizator | Data | 16 ianuarie 2016 20:05:02 | |
---|---|---|---|
Problema | Expresii min-max | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int expresie()’:
user.cpp:14:13: error: ‘p’ was not declared in this scope
while(s[p]=='m' || s[p]=='M')
^
user.cpp:23:9: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int factor()’:
user.cpp:26:5: error: ‘semn’ was not declared in this scope
semn=1;
^
user.cpp:27:13: error: ‘p’ was not declared in this scope
while(s[p]=='-')
^
user.cpp:31:13: error: ‘p’ was not declared in this scope
while(s[p]=='0' && s[p]<='9')
^
user.cpp:34:13: error: expected ‘;’ before ‘p’
p++;
^
user.cpp:36:21: warning: control reaches end of non-void function [-Wreturn-type]
return semn*val;}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !