Pagini recente » Borderou de evaluare (job #208765) | Borderou de evaluare (job #2681090) | Borderou de evaluare (job #2176904) | Borderou de evaluare (job #2176911) | Borderou de evaluare (job #3222284)
Borderou de evaluare (job #3222284)
Raport evaluator
Compilare:
main.cpp: In function 'int evaluare()':
main.cpp:101:45: warning: array subscript has type 'char' [-Wchar-subscripts]
101 | parametri.push_back(val[cer[ind]]);
| ^
main.cpp:109:16: warning: array subscript has type 'char' [-Wchar-subscripts]
109 | aux = expr[functie];
| ^~~~~~~
main.cpp: In function 'int main()':
main.cpp:125:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
125 | for(int i = 2; i < s.size(); i++)
| ~~^~~~~~~~~~
main.cpp:130:21: warning: array subscript has type 'char' [-Wchar-subscripts]
130 | val[s[0]] = nr;
| ^
main.cpp:140:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
140 | while(i<s.size())
| ~^~~~~~~~~
main.cpp:142:26: warning: array subscript has type 'char' [-Wchar-subscripts]
142 | expr[s[0]] += s[i];
| ^
main.cpp: In function 'int factor(std::vector<int>)':
main.cpp:77:1: warning: control reaches end of non-void function [-Wreturn-type]
77 | }
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 10 |
2 | 0ms | 303kb | OK | 10 |
3 | 0ms | 303kb | OK | 10 |
4 | 0ms | 303kb | OK | 10 |
5 | 0ms | 303kb | OK | 10 |
6 | 0ms | 303kb | OK | 10 |
7 | 0ms | 303kb | OK | 10 |
8 | 0ms | 303kb | OK | 10 |
9 | 0ms | 303kb | OK | 10 |
10 | 0ms | 303kb | OK | 10 |
Punctaj total | 100 |