Borderou de evaluare (job #1455674)

Utilizator Vlad_317Vlad Panait Vlad_317 Data 28 iunie 2015 20:10:38
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int E()’: user.cpp:13:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] while( s[last] == '+' || s[last] == '-' ) ^ user.cpp:13:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] while( s[last] == '+' || s[last] == '-' ) ^ user.cpp:15:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(s[last] == '+' ) ^ user.cpp: In function ‘int T()’: user.cpp:32:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] while( s[last] == '*' || s[last] == '/' ) ^ user.cpp:32:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] while( s[last] == '*' || s[last] == '/' ) ^ user.cpp:34:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( s[last] == '*' ) ^ user.cpp: In function ‘int F()’: user.cpp:51:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( s[last] == '(') ///subexpresie ^ user.cpp:59:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(s[last] >= '0' && s[last] <= '9') ^ user.cpp:59:39: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(s[last] >= '0' && s[last] <= '9') ^ user.cpp:61:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] r = r * 10 + s[last]- '0'; ^ user.cpp: In function ‘int main()’: user.cpp:75:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets (s, MAX, fin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms224kbOK10
20ms232kbOK10
30ms232kbOK10
40ms224kbIncorect0
50ms228kbIncorect0
60ms232kbIncorect0
70ms236kbIncorect0
80ms232kbIncorect0
90ms324kbOK10
100ms320kbIncorect0
Punctaj total40

Ceva nu functioneaza?