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_26246003_12610.cpp:10:22: error: conflicting declaration 'std::map<std::vector<int>, bool> mmp'
 map<vector<int>,bool>mmp;
                      ^
0_0_26246003_12610.cpp:6:10: note: previous declaration as 'long long int mmp [1055][1055]'
 ll n,m,s,mmp[maxn][maxn],len;
          ^
0_0_26246003_12610.cpp: In function 'void dfs(long long int)':
0_0_26246003_12610.cpp:17:27: error: 'i' was not declared in this scope
             b.push_back(c[i]);
                           ^
0_0_26246003_12610.cpp:18:15: error: no match for 'operator[]' (operand types are 'long long int [1055][1055]' and 'std::vector<int>')
         if(mmp[b]==0)
               ^
0_0_26246003_12610.cpp:21:16: error: no match for 'operator[]' (operand types are 'long long int [1055][1055]' and 'std::vector<int>')
             mmp[b]=1;
                ^
0_0_26246003_12610.cpp:27:9: error: 'flag' was not declared in this scope
         flag=1;
         ^
0_0_26246003_12610.cpp: In function 'int main()':
0_0_26246003_12610.cpp:49:10: error: 't' was not declared in this scope
     cin>>t;
          ^
0_0_26246003_12610.cpp:52:13: error: request for member 'clear' in 'mmp', which is of non-class type 'long long int [1055][1055]'
         mmp.clear();
             ^
0_0_26246003_12610.cpp:64:18: error: 'u' was not declared in this scope
             cin>>u>>v;
                  ^
0_0_26246003_12610.cpp:64:21: error: 'v' was not declared in this scope
             cin>>u>>v;
                     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-27 21:36:23, Gzip enabled