Borderou de evaluare (job #1481709)
Utilizator | Data | 5 septembrie 2015 06:39:52 | |
---|---|---|---|
Problema | Expresii min-max | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:3:13: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token
int E(char *&p) {
^
user.c:18:13: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token
int F(char *&p) {
^
user.c: In function ‘main’:
user.c:29:5: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
s=(char*)malloc(100001*sizeof(char));
^
user.c:29:14: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default]
s=(char*)malloc(100001*sizeof(char));
^
user.c:30:5: warning: implicit declaration of function ‘E’ [-Wimplicit-function-declaration]
gets(s),printf("%d",E(s));
^
user.c:28:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("emm.in","r",stdin),freopen("emm.out","w",stdout);
^
user.c:28:40: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("emm.in","r",stdin),freopen("emm.out","w",stdout);
^
user.c:30:9: 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 !