Job 16335

Owner
Bohdan Pryshchenko
Problem
Kpath
Contest
MindCoding 2016 Round 4 (Div. 1)
Source
2.70KB
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 'void dfs(int)':
prog.cpp:56:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < g[v].size(); i++)
                    ^
prog.cpp: In function 'void DFS(int, int)':
prog.cpp:84:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while (ptr[v] + 1 < S.size() && dep[S[ptr[v]]] < dep[v] - BOUND)
                    ^
prog.cpp:89:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < G[v].size(); i++)
                    ^

Results

Test numberResultTime
1Ok0.2704s
2Ok0.2725s
3Ok0.2725s
4Ok0.2721s
5Ok0.2740s
6Ok1.5975s
7Ok0.9143s
8Ok1.7195s
9Ok1.0429s
10Ok1.9311s
11Ok2.0587s
12Ok2.0829s
13Ok2.0838s
14Ok2.0830s
15Ok2.1226s
16Ok1.9086s
17Ok1.7167s
18Ok1.9352s
19Ok1.4011s
20Ok2.1041s
Questions?

Sponsors Gold