Job 15010

Owner
Vlad Alexandru Gavrila
Problem
Lumber Jack the Bus Driver
Contest
MindCoding 2016 Round 2 GAMELOFT (Div. 1)
Source
1.28KB
Result
Accepted

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:50:64: warning: unused variable 'med' [-Wunused-variable]
         int left=crb+(1<<pz)+1, right=min(n, crb+(1<<(pz+1))), med, sl=crb+(1<<pz);
                                                                ^
prog.cpp:70:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0; i<sol.size(); ++i)
                   ^

Results

Test numberResultTime
1Ok0.6554s
2Ok0.8273s
3Ok0.7202s
4Ok0.7372s
5Ok0.7605s
6Ok0.8337s
7Ok1.3206s
8Ok0.7319s
9Ok1.2959s
10Ok0.6503s
11Ok1.1453s
12Ok0.8159s
13Ok1.2007s
14Ok0.7883s
15Ok1.0383s
16Ok0.6531s
17Ok0.6469s
18Ok0.7260s
19Ok1.1116s
20Ok0.7938s
21Ok0.6374s
22Ok0.6552s
23Ok0.7604s
24Ok0.9299s
25Ok1.0493s
26Ok0.6316s
27Ok0.6404s
28Ok0.7399s
29Ok1.0061s
30Ok1.0592s
Questions?

Sponsors Gold