Borderou de evaluare (job #2828962)

Utilizator Toni1817Ungureanu Ionut Toni1817 Data 8 ianuarie 2022 10:29:12
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int prioritate(std::stack<char>, int)': main.cpp:13:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 13 | if(x == '+' && y == '*' || x == '+' && y == '/' || x == '+' && y == '-') | ~~~~~~~~~^~~~~~~~~~~ main.cpp:13:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 13 | if(x == '+' && y == '*' || x == '+' && y == '/' || x == '+' && y == '-') | ~~~~~~~~~^~~~~~~~~~~ main.cpp:15:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 15 | if(x == '-' && y == '*' || x == '-' && y == '/') | ~~~~~~~~~^~~~~~~~~~~ main.cpp:17:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 17 | if(x == '*' && y == '/' || x == '/' && y == '*') | ~~~~~~~~~^~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:56:18: warning: variable 'p' set but not used [-Wunused-but-set-variable] 56 | int aux = 0, p = 1; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbOK10
32ms184kbOK10
42ms184kbOK10
52ms184kbOK10
62ms184kbOK10
72ms184kbOK10
82ms184kbKilled by Signal 80
921ms761kbOK10
1054ms786kbTime limit exceeded0
Punctaj total80

Ceva nu functioneaza?