Borderou de evaluare (job #1481712)
Utilizator | Data | 5 septembrie 2015 06:41:42 | |
---|---|---|---|
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 F(char*&)’:
user.cpp:25:32: error: ‘strtod’ was not declared in this scope
return (int)strtod(p,&p);
^
user.cpp: In function ‘int main()’:
user.cpp:29:40: error: ‘malloc’ was not declared in this scope
s=(char*)malloc(100001*sizeof(char));
^
user.cpp: In function ‘int F(char*&)’:
user.cpp:26:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:28:62: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("emm.in","r",stdin),freopen("emm.out","w",stdout);
^
user.cpp:28:62: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:30:30: warning: ignoring return value of ‘char* gets(char*)’, 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 !