Job 15164

Owner
Margeloiu Andrei
Problem
Lumber Jack the Bus Driver
Contest
MindCoding 2016 Round 2 GAMELOFT (Div. 1)
Source
0.93KB
Result
Wrong Answer

Compiler output

prog.cpp: In function 'void logaritmi()':
prog.cpp:8:24: warning: iteration 100003u invokes undefined behavior [-Waggressive-loop-optimizations]
         lg[i]=lg[i/2]+1;
                        ^
prog.cpp:7:5: note: containing loop
     for (int i=2; i<=100005; ++i)
     ^

Results

Test numberResultTime
1Wrong Answer0.6332s
Questions?

Sponsors Gold