Job 18588

Owner
Andrei Udriste
Problem
Peculiar Times
Source
0.80KB
Result
Accepted

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:31:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if(!z && !t || x==z && y==t || x==t && y==z || (y-x==1 && z-y==1 && t-z==1)){
           ^
prog.cpp:31:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if(!z && !t || x==z && y==t || x==t && y==z || (y-x==1 && z-y==1 && t-z==1)){
                                         ^

Results

Test numberResultTime
1Ok0.2339s
Questions?

Sponsors Gold