Borderou de evaluare (job #2140303)

Utilizator herbertoHerbert Mohanu herberto Data 23 februarie 2018 11:13:21
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘bool expresie()’: user.cpp:11:19: error: ‘termen’ was not declared in this scope bool sum=termen(); ^ user.cpp:12:6: error: ‘s’ was not declared in this scope if(s[p]=='|'){ ^ user.cpp: In function ‘int termen()’: user.cpp:20:19: error: ‘factor’ was not declared in this scope int prod=factor(); ^ user.cpp:21:6: error: ‘s’ was not declared in this scope if(s[p]=='*'){ ^ user.cpp: In function ‘int factor()’: user.cpp:29:9: error: ‘s’ was not declared in this scope while(s[p]=='!'){ ^ user.cpp:33:6: error: ‘s’ was not declared in this scope if(s[p]=='('){ ^ user.cpp:39:9: error: ‘s’ was not declared in this scope while(s[p]>='0' && s[p]<='9'){ ^ user.cpp: In function ‘int main()’: user.cpp:49:8: warning: unused variable ‘fout’ [-Wunused-variable] FILE*fout=fopen("evaluare.out", "w"); ^ user.cpp:84:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &k); ^

Ceva nu functioneaza?