Borderou de evaluare (job #2912137)

Utilizator asdfdAlexandru Andrei asdfd Data 6 iulie 2022 22:04:31
Problema Paranteze Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:18:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 18 | if (brackets[i] == '(' && brackets[i + 1] == ')' || | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:20:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 20 | brackets[i] == '{' && brackets[i + 1] == '}') { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:23:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 23 | while (brackets[leftt] == '(' && brackets[rightt] == ')' || | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:25:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 25 | brackets[leftt] == '{' && brackets[rightt] == '}' ) { | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:67:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 67 | while (brackets[last_leftt] == '(' && brackets[last_rightt] == ')' || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:69:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | brackets[last_leftt] == '{' && brackets[last_rightt] == '}' ) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbOK5
21ms274kbIncorect0
31ms184kbIncorect0
41ms184kbIncorect0
51ms184kbIncorect0
61ms184kbIncorect0
72ms184kbIncorect0
81ms184kbIncorect0
91ms184kbIncorect0
101ms184kbIncorect0
111ms184kbIncorect0
121ms184kbIncorect0
1314ms307kbIncorect0
1415ms446kbIncorect0
1526ms851kbIncorect0
1644ms876kbIncorect0
1759ms1077kbIncorect0
1837ms1150kbIncorect0
1964ms1261kbIncorect0
2068ms1265kbIncorect0
Punctaj total5

Ceva nu functioneaza?