Job 18585

Owner
Andrei Udriste
Problem
Pipes
Source
0.66KB
Result
Wrong answer

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:26:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
             if(c==')' && top=='(' || c==']' && top=='[' || c=='|' && top=='|' || c=='}' && top=='{'){
                       ^
prog.cpp:26:67: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
             if(c==')' && top=='(' || c==']' && top=='[' || c=='|' && top=='|' || c=='}' && top=='{'){
                                                                   ^
prog.cpp:26:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
             if(c==')' && top=='(' || c==']' && top=='[' || c=='|' && top=='|' || c=='}' && top=='{'){
                                                                                         ^

Results

Test numberResultTime
1Wrong answer0.2325s
Questions?

Sponsors Gold