0_0_30261511_25994.cpp:6:1: error: 'hash_map' does not name a type
hash_map<ull, ull> mp;
^
0_0_30261511_25994.cpp:7:1: error: 'hash_map' does not name a type
hash_map<ull, int> cnta;
^
0_0_30261511_25994.cpp:8:1: error: 'hash_map' does not name a type
hash_map<ull, int> cntb;
^
0_0_30261511_25994.cpp: In function 'void init()':
0_0_30261511_25994.cpp:11:2: error: 'mp' was not declared in this scope
mp.clear();
^
0_0_30261511_25994.cpp:12:2: error: 'cnta' was not declared in this scope
cnta.clear();
^
0_0_30261511_25994.cpp:13:2: error: 'cntb' was not declared in this scope
cntb.clear();
^
0_0_30261511_25994.cpp: In function 'bool cmp(ull, ull)':
0_0_30261511_25994.cpp:26:9: error: 'mp' was not declared in this scope
return mp[a] < mp[b];
^
0_0_30261511_25994.cpp: In function 'int main()':
0_0_30261511_25994.cpp:40:8: error: 'cnta' was not declared in this scope
if(cnta[tem]==0)a.push_back(tem);
^
0_0_30261511_25994.cpp:41:5: error: 'mp' was not declared in this scope
mp[tem]++;
^
0_0_30261511_25994.cpp:42:5: error: 'cnta' was not declared in this scope
cnta[tem]++;
^
0_0_30261511_25994.cpp:47:8: error: 'cntb' was not declared in this scope
if(cntb[tem]==0)b.push_back(tem);
^
0_0_30261511_25994.cpp:48:5: error: 'mp' was not declared in this scope
mp[tem]++;
^
0_0_30261511_25994.cpp:49:5: error: 'cntb' was not declared in this scope
cntb[tem]++;
^
0_0_30261511_25994.cpp:56:8: error: 'cnta' was not declared in this scope
if(cnta[rec]==0)a.push_back(rec);
^
0_0_30261511_25994.cpp:57:5: error: 'mp' was not declared in this scope
mp[rec]++;
^
0_0_30261511_25994.cpp:58:5: error: 'cnta' was not declared in this scope
cnta[rec]++;
^
0_0_30261511_25994.cpp:64:8: error: 'cntb' was not declared in this scope
if(cntb[rec]==0)b.push_back(rec);
^
0_0_30261511_25994.cpp:65:5: error: 'mp' was not declared in this scope
mp[rec]++;
^
0_0_30261511_25994.cpp:66:5: error: 'cntb' was not declared in this scope
cntb[rec]++;
^
0_0_30261511_25994.cpp:74:21: error: 'mp' was not declared in this scope
while (a.size()&&mp[a.back()] == 0) a.pop_back();
^
0_0_30261511_25994.cpp:77:5: error: 'mp' was not declared in this scope
mp[rec] = 0;
^
0_0_30261511_25994.cpp:78:13: error: 'cnta' was not declared in this scope
cnt1 += cnta[rec];
^
0_0_30261511_25994.cpp:80:21: error: 'mp' was not declared in this scope
while (b.size()&&mp[b.back()] == 0) b.pop_back();
^
0_0_30261511_25994.cpp:83:5: error: 'mp' was not declared in this scope
mp[rec] = 0;
^
0_0_30261511_25994.cpp:84:13: error: 'cntb' was not declared in this scope
cnt2 += cntb[rec];
^
|