Job 19428

Owner
Mohammad Nematollahi
Problem
AndInt
Contest
MindCoding 2017 Round 3 Take Off Labs (Div. 1)
Source
0.65KB
Result
Wrong answer

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:31:31: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
   if (l < r && l + 1 != (1<<tl+1)){
                               ^
prog.cpp:32:19: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
    int t = ((1<<tl+1) - 1) - l;
                   ^

Results

Test numberResultTime
1Ok0.4532s
2Wrong answer0.4550s
Questions?

Sponsors Gold