Pagini recente » Borderou de evaluare (job #1804158) | Borderou de evaluare (job #1569373) | Borderou de evaluare (job #1247997) | Borderou de evaluare (job #3136758) | Borderou de evaluare (job #1867276)
Borderou de evaluare (job #1867276)
Raport evaluator
Compilare:
user.cpp: In function ‘int Fact(char, std::vector<int>&, int&)’:
user.cpp:19:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(isdigit(mat[let][poz])){
^
user.cpp:21:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(isdigit(mat[let][poz])){
^
user.cpp:22:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ans=ans*10+mat[let][poz]-'0';
^
user.cpp:26:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(mat[let][poz]!='('){
^
user.cpp:27: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:39:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(mat[let][poz]=='*'||mat[let][poz]=='/'){
^
user.cpp:39:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(mat[let][poz]=='*'||mat[let][poz]=='/'){
^
user.cpp:40: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:53:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(mat[let][poz]=='+'||mat[let][poz]=='-'){
^
user.cpp:53:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(mat[let][poz]=='+'||mat[let][poz]=='-'){
^
user.cpp:54:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(mat[let][poz]=='+'){
^
user.cpp: In function ‘int Exp()’:
user.cpp:79:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v.push_back(val[expr[pos]]);
^
user.cpp: In function ‘int main()’:
user.cpp:109:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
val[let]=nr;
^
user.cpp:118:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
mat[let].push_back(ch);
^
user.cpp:121:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
mat[let].push_back('\n');
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 396kb | OK | 10 |
2 | 0ms | 400kb | OK | 10 |
3 | 0ms | 400kb | OK | 10 |
4 | 0ms | 392kb | OK | 10 |
5 | 0ms | 396kb | OK | 10 |
6 | 0ms | 396kb | OK | 10 |
7 | 0ms | 400kb | OK | 10 |
8 | 0ms | 404kb | OK | 10 |
9 | 0ms | 396kb | OK | 10 |
10 | 0ms | 400kb | OK | 10 |
Punctaj total | 100 |