Job 14785

Owner
Bohdan Pryshchenko
Problem
Lumber Jack and Sick Leaves
Contest
MindCoding 2016 Round 2 GAMELOFT (Div. 1)
Source
1.67KB
Result
Accepted

Compiler output

prog.cpp:33:0: warning: "M_PI" redefined
 #define M_PI 3.141592653589793
 ^
In file included from /usr/include/c++/4.9/cmath:44:0,
                 from /usr/include/c++/4.9/complex:44,
                 from prog.cpp:10:
/usr/include/math.h:372:0: note: this is the location of the previous definition
 # define M_PI  3.14159265358979323846 /* pi */
 ^
prog.cpp: In function 'int main()':
prog.cpp:89:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j = 0; j < v[i + 1].size(); j++)
                     ^

Results

Test numberResultTime
1Ok0.2636s
2Ok0.2702s
3Ok0.2619s
4Ok0.2652s
5Ok0.2621s
6Ok0.2629s
7Ok0.2635s
8Ok0.2644s
9Ok0.2648s
10Ok0.2758s
Questions?

Sponsors Gold