Pagini recente » Borderou de evaluare (job #3243151) | Borderou de evaluare (job #3210011) | Borderou de evaluare (job #3210012) | Borderou de evaluare (job #3210087) | Borderou de evaluare (job #3213312)
Borderou de evaluare (job #3213312)
Raport evaluator
Compilare:
main.cpp: In function 'int getFactor(int*, char, int&)':
main.cpp:30:31: warning: array subscript has type 'char' [-Wchar-subscripts]
30 | if('a' <= expresiePtFunctie[numeFunctie][poz] && expresiePtFunctie[numeFunctie][poz] <= 'z') {
| ^~~~~~~~~~~
main.cpp:30:70: warning: array subscript has type 'char' [-Wchar-subscripts]
30 | if('a' <= expresiePtFunctie[numeFunctie][poz] && expresiePtFunctie[numeFunctie][poz] <= 'z') {
| ^~~~~~~~~~~
main.cpp:31:40: warning: array subscript has type 'char' [-Wchar-subscripts]
31 | factor = valFact[expresiePtFunctie[numeFunctie][poz] - 'a' + 1];
| ^~~~~~~~~~~
main.cpp:33:38: warning: array subscript has type 'char' [-Wchar-subscripts]
33 | } else if('0' <= expresiePtFunctie[numeFunctie][poz] && expresiePtFunctie[numeFunctie][poz] <= '9') {
| ^~~~~~~~~~~
main.cpp:33:77: warning: array subscript has type 'char' [-Wchar-subscripts]
33 | } else if('0' <= expresiePtFunctie[numeFunctie][poz] && expresiePtFunctie[numeFunctie][poz] <= '9') {
| ^~~~~~~~~~~
main.cpp:34:39: warning: array subscript has type 'char' [-Wchar-subscripts]
34 | factor = getInt(expresiePtFunctie[numeFunctie], poz);
| ^~~~~~~~~~~
main.cpp: In function 'int getInmultire(int*, char, int&)':
main.cpp:44:27: warning: array subscript has type 'char' [-Wchar-subscripts]
44 | while(expresiePtFunctie[numeFunctie][poz] == '*'){
| ^~~~~~~~~~~
main.cpp: In function 'int resolveEcuation(int*, char, int&)':
main.cpp:55:27: warning: array subscript has type 'char' [-Wchar-subscripts]
55 | while(expresiePtFunctie[numeFunctie][poz] == '-' or expresiePtFunctie[numeFunctie][poz] == '+'){
| ^~~~~~~~~~~
main.cpp:55:73: warning: array subscript has type 'char' [-Wchar-subscripts]
55 | while(expresiePtFunctie[numeFunctie][poz] == '-' or expresiePtFunctie[numeFunctie][poz] == '+'){
| ^~~~~~~~~~~
main.cpp:56:35: warning: array subscript has type 'char' [-Wchar-subscripts]
56 | char semn = expresiePtFunctie[numeFunctie][poz];
| ^~~~~~~~~~~
main.cpp:65:24: warning: array subscript has type 'char' [-Wchar-subscripts]
65 | if(expresiePtFunctie[numeFunctie][poz] == ')')
| ^~~~~~~~~~~
main.cpp: In function 'int evalFunctie(int&)':
main.cpp:72:38: warning: array subscript has type 'char' [-Wchar-subscripts]
72 | int nrFactori = nrTermeniPtFunctie[numeFunctie];
| ^~~~~~~~~~~
main.cpp:79:55: warning: array subscript has type 'char' [-Wchar-subscripts]
79 | valFactor[i] = valoareVariabile[functiaInit[poz]];
| ^
main.cpp: In function 'int main()':
main.cpp:100:24: warning: array subscript has type 'char' [-Wchar-subscripts]
100 | valoareVariabile[varCur] = stoi(s);
| ^~~~~~
main.cpp:111:26: warning: array subscript has type 'char' [-Wchar-subscripts]
111 | nrTermeniPtFunctie[funcCur] = numarTermeni;
| ^~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 9ms | 20742kb | Memory limit exceeded | 0 |
2 | 9ms | 20742kb | Memory limit exceeded | 0 |
3 | 9ms | 20742kb | Memory limit exceeded | 0 |
4 | 9ms | 20742kb | Memory limit exceeded | 0 |
5 | 9ms | 20742kb | Memory limit exceeded | 0 |
6 | 9ms | 20742kb | Memory limit exceeded | 0 |
7 | 9ms | 20742kb | Memory limit exceeded | 0 |
8 | 15ms | 20664kb | Memory limit exceeded | 0 |
9 | 9ms | 20742kb | Memory limit exceeded | 0 |
10 | 9ms | 20701kb | Memory limit exceeded | 0 |
Punctaj total | 0 |