Job 16983

Owner
Bohdan Pryshchenko
Problem
Sequence
Contest
MindCoding 2016 Final 2
Source
1.59KB
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:74:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < v.size(); i++)
                    ^

Results

Test numberResultTime
1Ok0.2711s
2Ok0.2640s
3Ok0.2507s
4Ok0.2667s
5Ok0.2624s
6Ok0.2698s
7Ok0.2692s
8Ok0.2627s
9Ok0.2862s
10Ok0.2590s
11Ok0.6683s
12Ok0.6530s
13Ok0.5861s
14Ok0.6626s
15Ok0.2702s
16Ok0.3028s
17Ok0.6232s
Questions?

Sponsors Gold