Pagini recente » Borderou de evaluare (job #356192) | Borderou de evaluare (job #186867) | Borderou de evaluare (job #2722029) | Borderou de evaluare (job #2340582) | Borderou de evaluare (job #2157779)
Borderou de evaluare (job #2157779)
Raport evaluator
Compilare:
user.cpp: In function ‘void push_op_in_polo()’:
user.cpp:28:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
polo.push_back(id[op.top()]);
^
user.cpp: In function ‘int main()’:
user.cpp:55:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (!op.empty() && pr[s[i]] <= pr[op.top()]) push_op_in_polo();
^
user.cpp:55:58: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (!op.empty() && pr[s[i]] <= pr[op.top()]) push_op_in_polo();
^
user.cpp:62:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < polo.size(); ++i) {
^
user.cpp:38:11: warning: array subscript is above array bounds [-Warray-bounds]
id['+'] = -1;
^
user.cpp:39:11: warning: array subscript is above array bounds [-Warray-bounds]
id['-'] = -2;
^
user.cpp:40:11: warning: array subscript is above array bounds [-Warray-bounds]
id['*'] = -3;
^
user.cpp:41:11: warning: array subscript is above array bounds [-Warray-bounds]
id['/'] = -4;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2760kb | OK | 10 |
2 | 4ms | 2764kb | OK | 10 |
3 | 4ms | 2800kb | OK | 10 |
4 | 4ms | 2704kb | OK | 10 |
5 | 4ms | 2796kb | OK | 10 |
6 | 4ms | 2712kb | OK | 10 |
7 | 4ms | 2832kb | OK | 10 |
8 | 4ms | 2804kb | OK | 10 |
9 | 4ms | 2984kb | OK | 10 |
10 | 4ms | 3028kb | OK | 10 |
Punctaj total | 100 |