Borderou de evaluare (job #1768937)
Utilizator | Data | 1 octombrie 2016 18:41:10 | |
---|---|---|---|
Problema | Evaluarea unei expresii | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘node* expr(int)’:
user.cpp:30:57: error: ‘strchr’ was not declared in this scope
for( x = expr( lev+1 ); strchr( op[lev], *p ); x = y )
^
user.cpp: In function ‘int main()’:
user.cpp:47:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "evaluare.in", "r", stdin );
^
user.cpp:48:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "evaluare.out", "w", stdout );
^
user.cpp:50:33: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets( S, NX, stdin ), p = S;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !