0_0_31413349_7456.cpp:83:1: error: 'unordered_map' does not name a type
unordered_map<int, int> mp[N];
^
0_0_31413349_7456.cpp: In function 'void update(int, int, int, bool)':
0_0_31413349_7456.cpp:96:13: error: 'mp' was not declared in this scope
if (mp[u][cpre] >= 2 && mp[v][cpre] >= 2) {
^
0_0_31413349_7456.cpp:99:13: error: 'mp' was not declared in this scope
if (mp[u][cpre] == 1 && mp[v][cpre] == 1) {
^
0_0_31413349_7456.cpp:102:13: error: 'mp' was not declared in this scope
if (mp[u][ccur] && mp[v][ccur]) {
^
0_0_31413349_7456.cpp:105:14: error: 'mp' was not declared in this scope
if (!mp[u][ccur] && !mp[v][ccur]) {
^
0_0_31413349_7456.cpp:111:13: error: 'mp' was not declared in this scope
if (mp[u][cpre] >= 2 && mp[v][cpre] >= 2) {
^
0_0_31413349_7456.cpp:115:13: error: 'mp' was not declared in this scope
if (mp[u][cpre] == 1 && mp[v][cpre] == 1) {
^
0_0_31413349_7456.cpp:118:13: error: 'mp' was not declared in this scope
if (mp[u][ccur] && mp[v][ccur]) {
^
0_0_31413349_7456.cpp:122:14: error: 'mp' was not declared in this scope
if (!mp[u][ccur] && !mp[v][ccur]) {
^
0_0_31413349_7456.cpp:132:9: error: 'mp' was not declared in this scope
mp[u][cpre]--;
^
0_0_31413349_7456.cpp:135:5: error: 'mp' was not declared in this scope
mp[u][ccur]++;
^
0_0_31413349_7456.cpp: In function 'int main()':
0_0_31413349_7456.cpp:149:13: error: 'mp' was not declared in this scope
mp[i].clear();
^
|