Pagini recente » Borderou de evaluare (job #2521004) | Borderou de evaluare (job #1961761) | Borderou de evaluare (job #2433684) | Borderou de evaluare (job #2092163) | Borderou de evaluare (job #1623231)
Borderou de evaluare (job #1623231)
Raport evaluator
Compilare:
user.cpp: In function ‘void adaug(char, int&)’:
user.cpp:31:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i < aux.size() && isupper(aux[i])) op += aux[i++];
^
user.cpp: In function ‘void fa_string_bun()’:
user.cpp:42:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < aux.size() ; ++i) {
^
user.cpp: In function ‘void fa_curr_op(int&)’:
user.cpp:61:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!operatii.empty() && prio[ch] <= prio[operatii.top()])
^
user.cpp:61:63: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!operatii.empty() && prio[ch] <= prio[operatii.top()])
^
user.cpp: In function ‘void makePolish()’:
user.cpp:76:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i < S.size(); ++i) {
^
user.cpp: In function ‘bool eval()’:
user.cpp:114:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < vec_aux.size(); ++i) {
^
user.cpp:117:62: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(isupper(ch) || islower(ch)) numere.push(val[ch]);
^
user.cpp: In function ‘int main()’:
user.cpp:134:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
val[variabile[i]] ^= 1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 476kb | OK | 10 |
2 | 0ms | 480kb | OK | 10 |
3 | 0ms | 484kb | OK | 10 |
4 | 0ms | 488kb | OK | 10 |
5 | 0ms | 484kb | OK | 10 |
6 | 0ms | 480kb | OK | 10 |
7 | 0ms | 484kb | OK | 10 |
8 | 0ms | 484kb | OK | 10 |
9 | 0ms | 480kb | OK | 10 |
10 | 0ms | 480kb | OK | 10 |
Punctaj total | 100 |