Job 16882

Owner
Bohdan Pryshchenko
Problem
ProjectGammaX
Contest
MindCoding 2016 Final 1
Source
4.38KB
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 'std::vector<long long int> compress(std::vector<long long int>)':
prog.cpp:56:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < temp.size(); i++)
                    ^

Results

Test numberResultTime
1Ok0.2624s
2Ok0.4165s
3Ok0.6715s
4Ok0.8715s
5Ok1.0500s
6Ok1.0054s
7Ok1.0745s
8Ok1.2239s
9Ok1.3469s
10Ok1.4675s
11Ok1.6031s
12Ok1.5737s
13Ok1.6283s
14Ok1.5811s
15Ok1.6119s
16Ok1.0322s
Questions?

Sponsors Gold