0_0_35580742_1897.cpp: In function 'void get_val(int&)':
0_0_35580742_1897.cpp:108:13: error: redefinition of 'void get_val(int&)'
inline void get_val(int &a)
^
0_0_35580742_1897.cpp:22:13: note: 'void get_val(int&)' previously defined here
inline void get_val(int &a)
^
0_0_35580742_1897.cpp: At global scope:
0_0_35580742_1897.cpp:122:31: error: redefinition of 'std::vector<std::pair<double, double> > P'
vector<pair<double, double> > P;
^
0_0_35580742_1897.cpp:36:31: note: 'std::vector<std::pair<double, double> > P' previously declared here
vector<pair<double, double> > P;
^
0_0_35580742_1897.cpp:123:5: error: redefinition of 'int n'
int n;
^
0_0_35580742_1897.cpp:37:5: note: 'int n' previously declared here
int n;
^
0_0_35580742_1897.cpp:124:8: error: redefinition of 'double x'
double x, y, dis[205][205], dp[205][205];
^
0_0_35580742_1897.cpp:38:8: note: 'double x' previously declared here
double x, y, dis[205][205], dp[205][205];
^
0_0_35580742_1897.cpp:124:11: error: redefinition of 'double y'
double x, y, dis[205][205], dp[205][205];
^
0_0_35580742_1897.cpp:38:11: note: 'double y' previously declared here
double x, y, dis[205][205], dp[205][205];
^
0_0_35580742_1897.cpp:124:26: error: redefinition of 'double dis [205][205]'
double x, y, dis[205][205], dp[205][205];
^
0_0_35580742_1897.cpp:38:14: note: 'double dis [205][205]' previously declared here
double x, y, dis[205][205], dp[205][205];
^
0_0_35580742_1897.cpp:124:40: error: redefinition of 'double dp [205][205]'
double x, y, dis[205][205], dp[205][205];
^
0_0_35580742_1897.cpp:38:29: note: 'double dp [205][205]' previously declared here
double x, y, dis[205][205], dp[205][205];
^
0_0_35580742_1897.cpp: In function 'double caldis(double, double, double, double)':
0_0_35580742_1897.cpp:126:8: error: redefinition of 'double caldis(double, double, double, double)'
double caldis (double x1, double y1, double x2, double y2)
^
0_0_35580742_1897.cpp:40:8: note: 'double caldis(double, double, double, double)' previously defined here
double caldis (double x1, double y1, double x2, double y2)
^
0_0_35580742_1897.cpp: In function 'int main()':
0_0_35580742_1897.cpp:131:5: error: redefinition of 'int main()'
int main ()
^
0_0_35580742_1897.cpp:45:5: note: 'int main()' previously defined here
int main ()
^
0_0_35580742_1897.cpp:148:53: error: expected ';' at end of input
dis[i + 1][j + 1] = dis[j + 1][i + 1]
^
0_0_35580742_1897.cpp:148:53: error: expected '}' at end of input
0_0_35580742_1897.cpp:148:53: error: expected '}' at end of input
0_0_35580742_1897.cpp:148:53: error: expected '}' at end of input
0_0_35580742_1897.cpp:148:53: error: expected '}' at end of input
|