0_0_36341139_4001.cpp:9:1: error: 'map' does not name a type
map<int, int>mp;//±ê¼ÇÊý×é
^
0_0_36341139_4001.cpp: In function 'int main()':
0_0_36341139_4001.cpp:17:17: error: 'mp' was not declared in this scope
cin >> a[i]; mp[a[i]] = 0;
^
0_0_36341139_4001.cpp:22:4: error: 'set' was not declared in this scope
set<int>s;
^
0_0_36341139_4001.cpp:22:8: error: expected primary-expression before 'int'
set<int>s;
^
0_0_36341139_4001.cpp:23:4: error: 's' was not declared in this scope
s.clear();
^
0_0_36341139_4001.cpp:27:18: error: 'mp' was not declared in this scope
cin >> b[i]; mp[b[i]]++;
^
0_0_36341139_4001.cpp:34:4: error: 'map' was not declared in this scope
map<int, int>p; p.clear();
^
0_0_36341139_4001.cpp:34:8: error: expected primary-expression before 'int'
map<int, int>p; p.clear();
^
0_0_36341139_4001.cpp:34:20: error: 'p' was not declared in this scope
map<int, int>p; p.clear();
^
0_0_36341139_4001.cpp:39:10: error: 'mp' was not declared in this scope
if (mp[a[r++]] > 0)
^
0_0_36341139_4001.cpp:47:9: error: 'mp' was not declared in this scope
if (mp[a[l++]] > 0)
^
|