Borderou de evaluare (job #1471117)
| Utilizator | Data | 13 august 2015 04:27:44 | |
|---|---|---|---|
| Problema | Evaluarea unei expresii | Status | done |
| Runda | Arhiva educationala | Compilator | c | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.c:4:13: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token
int E(char *&p) {
^
user.c:14:13: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token
int T(char *&p) {
^
user.c:24:13: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token
int F(char *&p) {
^
user.c: In function ‘main’:
user.c:35:2: warning: implicit declaration of function ‘E’ [-Wimplicit-function-declaration]
gets(s),printf("%d",E(s));
^
user.c:33:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.in","r",stdin),freopen("evaluare.out","w",stdout);
^
user.c:33:42: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.in","r",stdin),freopen("evaluare.out","w",stdout);
^
user.c:35:6: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result [-Wunused-result]
gets(s),printf("%d",E(s));
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
