Borderou de evaluare (job #1496495)

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

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:77:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(s[q]=='T' && s[q+1]=='R') ^ user.cpp:83:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(s[q]=='F' && s[q+1]=='A') ^ user.cpp:90:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(val[s[q]-'A'] == 0) ^ user.cpp:96:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(val[s[q]-'A'] == 1) ^ user.cpp:102:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:107:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bool.in","r",stdin); ^ user.cpp:108:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bool.out","w",stdout); ^ user.cpp:110:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:114:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:119:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms264kbOK10
30ms272kbOK10
40ms268kbOK10
50ms276kbIncorect0
60ms272kbOK10
70ms272kbIncorect0
80ms264kbIncorect0
90ms272kbIncorect0
100ms268kbOK10
Punctaj total60

Ceva nu functioneaza?