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;
^
|