Borderou de evaluare (job #2224937)
Utilizator | Data | 25 iulie 2018 16:29:43 | |
---|---|---|---|
Problema | Eq4 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9:1: error: expected ‘,’ or ‘;’ before ‘char’
char expr[NMAX];
^~~~
user.cpp: In function ‘int main()’:
user.cpp:18:31: error: ‘expr’ was not declared in this scope
scanf("%d\n%s\n",&cerinta,expr);
^~~~
user.cpp:23:10: warning: unused variable ‘ok’ [-Wunused-variable]
bool ok = false;
^~
user.cpp:16:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("eq4.in","r",stdin);
^
user.cpp:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("eq4.out","w",stdout);
^
user.cpp:19:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n",&a,&b,&E);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !