Borderou de evaluare (job #2912136)

Utilizator asdfdAlexandru Andrei asdfd Data 6 iulie 2022 22:03:54
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
21ms184kbIncorect0
31ms184kbIncorect0
41ms184kbIncorect0
52ms184kbIncorect0
61ms184kbIncorect0
71ms184kbIncorect0
81ms184kbIncorect0
91ms184kbIncorect0
101ms184kbIncorect0
113ms282kbIncorect0
122ms184kbIncorect0
132ms184kbIncorect0
144ms438kbIncorect0
1519ms823kbIncorect0
1625ms868kbIncorect0
1725ms1056kbIncorect0
1853ms1183kbIncorect0
1945ms1249kbIncorect0
2065ms1257kbIncorect0
Punctaj total5

Ceva nu functioneaza?