Job 18808

Owner
Vlad Lazar
Problem
Bits
Contest
MindCoding 2017 Round 2 Bosch (Div. 1)
Source
0.85KB
Result
Wrong answer

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:15:26: warning: variable 'first1' set but not used [-Wunused-but-set-variable]
         int first, last, first1;
                          ^
prog.cpp:39:57: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized]
             cout << cop + (1 << (i - first)) - (1 << (i - last)) << " ";
                                                         ^

Results

Test numberResultTime
1Ok0.2490s
2Wrong answer0.2475s
Questions?

Sponsors Gold