Borderou de evaluare (job #1496620)

Utilizator Vlad_317Vlad Panait Vlad_317 Data 5 octombrie 2015 11:50:57
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘bool E()’: user.cpp:21: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:34: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:46:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(s[q]=='(') ^ user.cpp:53:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(s[q]=='N' && s[q+1]=='O') ^ user.cpp:60:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(s[q]=='T' && s[q+1]=='R') ^ user.cpp:65:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(s[q]=='F' && s[q+1]=='A') ^ user.cpp:71:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(val[s[q]-'A'] == 0) ^ user.cpp:76:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(val[s[q]-'A'] == 1) ^ user.cpp: In function ‘int main()’: user.cpp:95:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[q++]=ch; ^ user.cpp: In function ‘bool F()’: user.cpp:81:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:102: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:107: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
20ms260kbOK10
30ms260kbOK10
40ms260kbOK10
50ms256kbIncorect0
60ms252kbIncorect0
70ms260kbIncorect0
80ms256kbIncorect0
90ms256kbIncorect0
100ms256kbIncorect0
Punctaj total40

Ceva nu functioneaza?