Borderou de evaluare (job #2829011)
Raport evaluator
Compilare:
main.cpp: In function 'int prioritate(std::stack<char>, int)':
main.cpp:15:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
15 | if(x == '*' && y == '+' || x == '*' && y == '-' || x == '/' && y == '+' || x == '/' && y == '-')
| ~~~~~~~~~^~~~~~~~~~~
main.cpp:15:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
15 | if(x == '*' && y == '+' || x == '*' && y == '-' || x == '/' && y == '+' || x == '/' && y == '-')
| ~~~~~~~~~^~~~~~~~~~~
main.cpp:15:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
15 | if(x == '*' && y == '+' || x == '*' && y == '-' || x == '/' && y == '+' || x == '/' && y == '-')
| ~~~~~~~~~^~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:54:18: warning: variable 'p' set but not used [-Wunused-but-set-variable]
54 | int aux = 0, p = 1;
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 184kb | OK | 10 |
| 2 | 2ms | 184kb | OK | 10 |
| 3 | 2ms | 184kb | OK | 10 |
| 4 | 2ms | 184kb | OK | 10 |
| 5 | 2ms | 184kb | OK | 10 |
| 6 | 2ms | 184kb | OK | 10 |
| 7 | 2ms | 184kb | OK | 10 |
| 8 | 2ms | 184kb | OK | 10 |
| 9 | 21ms | 724kb | OK | 10 |
| 10 | 21ms | 724kb | OK | 10 |
| Punctaj total | 100 |