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_35401247_17689.cpp:85:5: error: redefinition of 'll ans'
 int ans, res, temp, n, sum;
     ^
0_0_35401247_17689.cpp:13:5: note: 'll ans' previously declared here
 int ans, res, temp, n, sum;
     ^
0_0_35401247_17689.cpp:85:10: error: redefinition of 'll res'
 int ans, res, temp, n, sum;
          ^
0_0_35401247_17689.cpp:13:10: note: 'll res' previously declared here
 int ans, res, temp, n, sum;
          ^
0_0_35401247_17689.cpp:85:15: error: redefinition of 'll temp'
 int ans, res, temp, n, sum;
               ^
0_0_35401247_17689.cpp:13:15: note: 'll temp' previously declared here
 int ans, res, temp, n, sum;
               ^
0_0_35401247_17689.cpp:85:21: error: redefinition of 'll n'
 int ans, res, temp, n, sum;
                     ^
0_0_35401247_17689.cpp:13:21: note: 'll n' previously declared here
 int ans, res, temp, n, sum;
                     ^
0_0_35401247_17689.cpp:85:24: error: redefinition of 'll sum'
 int ans, res, temp, n, sum;
                        ^
0_0_35401247_17689.cpp:13:24: note: 'll sum' previously declared here
 int ans, res, temp, n, sum;
                        ^
0_0_35401247_17689.cpp:86:12: error: redefinition of 'char a [505][505]'
 char a[N][N];
            ^
0_0_35401247_17689.cpp:14:6: note: 'char a [505][505]' previously declared here
 char a[N][N];
      ^
0_0_35401247_17689.cpp:87:29: error: redefinition of 'std::vector<std::map<std::basic_string<char>, long long int> > mp1'
 vector <map<string,int>> mp1(N), mp2(N);
                             ^
0_0_35401247_17689.cpp:15:26: note: 'std::vector<std::map<std::basic_string<char>, long long int> > mp1' previously declared here
 vector <map<string,int>> mp1(N), mp2(N);
                          ^
0_0_35401247_17689.cpp:87:37: error: redefinition of 'std::vector<std::map<std::basic_string<char>, long long int> > mp2'
 vector <map<string,int>> mp1(N), mp2(N);
                                     ^
0_0_35401247_17689.cpp:15:34: note: 'std::vector<std::map<std::basic_string<char>, long long int> > mp2' previously declared here
 vector <map<string,int>> mp1(N), mp2(N);
                                  ^
0_0_35401247_17689.cpp: In function 'void dfs1(ll, ll, std::string)':
0_0_35401247_17689.cpp:89:6: error: redefinition of 'void dfs1(ll, ll, std::string)'
 void dfs1(int x, int y, string s){
      ^
0_0_35401247_17689.cpp:17:6: note: 'void dfs1(ll, ll, std::string)' previously defined here
 void dfs1(int x, int y, string s){
      ^
0_0_35401247_17689.cpp: In function 'void dfs2(ll, ll, std::string)':
0_0_35401247_17689.cpp:103:6: error: redefinition of 'void dfs2(ll, ll, std::string)'
 void dfs2(int x, int y, string s){
      ^
0_0_35401247_17689.cpp:31:6: note: 'void dfs2(ll, ll, std::string)' previously defined here
 void dfs2(int x, int y, string s){
      ^
0_0_35401247_17689.cpp: In function 'int main()':
0_0_35401247_17689.cpp:117:8: error: redefinition of 'int main()'
 signed main(){
        ^
0_0_35401247_17689.cpp:45:8: note: 'int main()' previously defined here
 signed 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-26 17:55:11, Gzip enabled