Borderou de evaluare (job #1496500)

Utilizator Vlad_317Vlad Panait Vlad_317 Data 5 octombrie 2015 02:51:10
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void skip()’: user.cpp:16:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(s[q]==' ') ^ user.cpp: In function ‘bool E()’: user.cpp:29:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(s[q]=='O' && s[q+1]=='R') ^ user.cpp: In function ‘bool T()’: user.cpp:46:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(s[q]=='A' && s[q+1]=='N') ^ user.cpp: In function ‘bool F()’: user.cpp:61:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(s[q]=='(') ^ user.cpp:70:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(s[q]=='N' && s[q+1]=='O') ^ user.cpp:79:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(s[q]=='T' && s[q+1]=='R') ^ user.cpp:85:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(s[q]=='F' && s[q+1]=='A') ^ user.cpp:92:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(val[s[q]-'A'] == 0) ^ user.cpp:98:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(val[s[q]-'A'] == 1) ^ user.cpp:104:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:112:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s,1010,fin); ^ user.cpp:116:27: 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:121:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%c",&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms264kbOK10
30ms268kbOK10
40ms268kbOK10
50ms272kbIncorect0
60ms268kbOK10
70ms268kbIncorect0
80ms268kbOK10
90ms268kbOK10
100ms272kbOK10
Punctaj total80

Ceva nu functioneaza?