Job 15153

Owner
Bohdan Pryshchenko
Problem
Lumber Jack the Bus Driver
Contest
MindCoding 2016 Round 2 GAMELOFT (Div. 1)
Source
1.73KB
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:99:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < ans.size(); i++)
                    ^

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:99:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < ans.size(); i++)
                    ^

Results

Test numberResultTime
1Ok0.7431s
2Ok0.6960s
3Ok0.6684s
4Ok0.7168s
5Ok0.6439s
6Ok0.7586s
7Ok1.1420s
8Ok0.6937s
9Ok1.1725s
10Ok0.6282s
11Ok1.1651s
12Ok0.6999s
13Ok1.2707s
14Ok0.8816s
15Ok1.1302s
16Ok0.7082s
17Ok0.6403s
18Ok0.7424s
19Ok1.0043s
20Ok0.8654s
21Ok0.6520s
22Ok0.6466s
23Ok0.7707s
24Ok0.9205s
25Ok1.0384s
26Ok0.6740s
27Ok0.6414s
28Ok0.7492s
29Ok0.9172s
30Ok1.0414s
Questions?

Sponsors Gold