Job 18586

Owner
Andrei Udriste
Problem
Pipes
Source
0.66KB
Result
Accepted

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
1Ok0.2328s
2Ok0.2311s
3Ok0.2331s
4Ok0.2323s
5Ok0.2340s
6Ok0.2333s
7Ok0.2334s
8Ok0.2343s
9Ok0.2324s
10Ok0.2336s
11Ok0.2319s
12Ok0.2309s
13Ok0.2313s
14Ok0.2305s
15Ok0.2312s
16Ok0.2299s
17Ok0.2319s
18Ok0.2318s
19Ok0.2317s
20Ok0.2310s
Questions?

Sponsors Gold