Job 18821

Owner
Guraliuc Iulian
Problem
Bits
Contest
MindCoding 2017 Round 2 Bosch (Div. 2)
Source
0.64KB
Result
Wrong answer

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:22:44: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
         while((1 << j) < x && (1 << j) & x == 0)
                                            ^

Results

Test numberResultTime
1Ok0.2498s
2Wrong answer0.2943s
Questions?

Sponsors Gold