Borderou de evaluare (job #1823054)

Utilizator penetavyPene Cosmin-Octavian penetavy Data 5 decembrie 2016 20:59:28
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int f_and()’: user.cpp:71:5: error: ‘else’ without a previous ‘if’ else if (EXPR[p] == 't'){ ^ user.cpp: In function ‘int main()’: user.cpp:100:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j; ^ user.cpp: In function ‘int f_and()’: user.cpp:97:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:103:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(EXPR, 1000, fin); ^ user.cpp:136:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d\n", &N); ^ user.cpp:138:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%c", &c); ^

Ceva nu functioneaza?