Borderou de evaluare (job #1867187)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 3 februarie 2017 20:31:22
Problema Apel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

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
10ms404kbIncorect0
20ms404kbOK10
30ms412kbOK10
40ms404kbIncorect0
50ms352kbKilled by signal 11(SIGSEGV).0
60ms408kbOK10
70ms400kbOK10
80ms416kbOK10
90ms404kbOK10
100ms408kbOK10
Punctaj total70

Ceva nu functioneaza?