Borderou de evaluare (job #1867267)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 3 februarie 2017 21:53:41
Problema Apel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int Fact(char, std::vector<int>&, int&)’: user.cpp:20:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(isdigit(mat[let][poz])){ ^ user.cpp:22:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(isdigit(mat[let][poz])){ ^ user.cpp:23:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] ans=ans*10+mat[let][poz]-'0'; ^ user.cpp:27:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if(mat[let][poz]!='('){ ^ user.cpp:28:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] ans=v[mat[let][poz]-'a']; ^ user.cpp: In function ‘int Term(char, std::vector<int>&, int&)’: user.cpp:40:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(mat[let][poz]=='*'||mat[let][poz]=='/'){ ^ user.cpp:40:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(mat[let][poz]=='*'||mat[let][poz]=='/'){ ^ user.cpp:41:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(mat[let][poz]=='*'){ ^ user.cpp: In function ‘int E(char, std::vector<int>&, int&)’: user.cpp:54:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(mat[let][poz]=='+'||mat[let][poz]=='-'){ ^ user.cpp:54:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(mat[let][poz]=='+'||mat[let][poz]=='-'){ ^ user.cpp:55:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(mat[let][poz]=='+'){ ^ user.cpp: In function ‘int Exp()’: user.cpp:80:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] v.push_back(val[expr[pos]]); ^ user.cpp: In function ‘int main()’: user.cpp:99:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(f1[ch]==0) ^ user.cpp:101:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] f1[ch]=1; ^ user.cpp:104:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(f2[ch]==0) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms408kbOK10
20ms412kbOK10
30ms412kbOK10
40ms412kbOK10
50ms352kbKilled by signal 11(SIGSEGV).0
60ms408kbOK10
70ms412kbOK10
80ms412kbOK10
90ms408kbOK10
100ms412kbOK10
Punctaj total90

Ceva nu functioneaza?