F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_14574119_10040.cpp:175:19: error: redefinition of 'const long double eps'
 const long double eps = 1e-5;
                   ^
0_0_14574119_10040.cpp:8:19: note: 'const long double eps' previously defined here
 const long double eps = 1e-5;
                   ^
0_0_14574119_10040.cpp:176:5: error: redefinition of 'int flag'
 int flag;
     ^
0_0_14574119_10040.cpp:9:5: note: 'int flag' previously declared here
 int flag;
     ^
0_0_14574119_10040.cpp: In function 'std::vector<long double> simplex(std::vector<std::vector<long double> >&, std::vector<long double>, std::vector<long double>)':
0_0_14574119_10040.cpp:177:21: error: redefinition of 'std::vector<long double> simplex(std::vector<std::vector<long double> >&, std::vector<long double>, std::vector<long double>)'
 vector<long double> simplex(vector<vector<long double> > &A, vector<long double> b, vector<long double> c) {
                     ^
0_0_14574119_10040.cpp:10:21: note: 'std::vector<long double> simplex(std::vector<std::vector<long double> >&, std::vector<long double>, std::vector<long double>)' previously defined here
 vector<long double> simplex(vector<vector<long double> > &A, vector<long double> b, vector<long double> c) {
                     ^
0_0_14574119_10040.cpp: At global scope:
0_0_14574119_10040.cpp:254:11: error: redefinition of 'const int Mn'
 const int Mn = 100 + 10;
           ^
0_0_14574119_10040.cpp:87:11: note: 'const int Mn' previously defined here
 const int Mn = 100 + 10;
           ^
0_0_14574119_10040.cpp:255:5: error: redefinition of 'int n'
 int n;
     ^
0_0_14574119_10040.cpp:88:5: note: 'int n' previously declared here
 int n;
     ^
0_0_14574119_10040.cpp:256:8: error: redefinition of 'double L'
 double L, R;
        ^
0_0_14574119_10040.cpp:89:8: note: 'double L' previously declared here
 double L, R;
        ^
0_0_14574119_10040.cpp:256:11: error: redefinition of 'double R'
 double L, R;
           ^
0_0_14574119_10040.cpp:89:11: note: 'double R' previously declared here
 double L, R;
           ^
0_0_14574119_10040.cpp:257:16: error: redefinition of 'double a [110][10]'
 double a[Mn][10], p[Mn];
                ^
0_0_14574119_10040.cpp:90:8: note: 'double a [110][10]' previously declared here
 double a[Mn][10], p[Mn];
        ^
0_0_14574119_10040.cpp:257:23: error: redefinition of 'double p [110]'
 double a[Mn][10], p[Mn];
                       ^
0_0_14574119_10040.cpp:90:19: note: 'double p [110]' previously declared here
 double a[Mn][10], p[Mn];
                   ^
0_0_14574119_10040.cpp:258:5: error: redefinition of 'int cas'
 int cas;
     ^
0_0_14574119_10040.cpp:91:5: note: 'int cas' previously declared here
 int cas;
     ^
0_0_14574119_10040.cpp:259:12: error: redefinition of 'bool vis [10]'
 bool vis[10];
            ^
0_0_14574119_10040.cpp:92:6: note: 'bool vis [10]' previously declared here
 bool vis[10];
      ^
0_0_14574119_10040.cpp: In function 'int main()':
0_0_14574119_10040.cpp:260:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_14574119_10040.cpp:93:5: note: 'int main()' previously defined here
 int main() {
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-29 17:18:13, Gzip enabled