0_0_37233405_12315.cpp:17:1: error: 'unordered_map' does not name a type
unordered_map<int, int> num_pos, tmp, lst;
^
0_0_37233405_12315.cpp: In function 'int main()':
0_0_37233405_12315.cpp:62:9: error: 'tmp' was not declared in this scope
tmp.clear();
^
0_0_37233405_12315.cpp:66:9: error: 'num_pos' was not declared in this scope
num_pos[x] = i;
^
0_0_37233405_12315.cpp:67:19: error: expected unqualified-id before '[' token
for(auto &[a, pos]:num_pos)
^
0_0_37233405_12315.cpp:67:19: error: expected ';' before '[' token
0_0_37233405_12315.cpp:67:23: error: 'pos' was not declared in this scope
for(auto &[a, pos]:num_pos)
^
0_0_37233405_12315.cpp: In lambda function:
0_0_37233405_12315.cpp:67:27: error: expected '{' before ':' token
for(auto &[a, pos]:num_pos)
^
0_0_37233405_12315.cpp: In function 'int main()':
0_0_37233405_12315.cpp:67:27: error: expected ';' before ':' token
0_0_37233405_12315.cpp:67:27: error: expected primary-expression before ':' token
0_0_37233405_12315.cpp:67:27: error: expected ')' before ':' token
0_0_37233405_12315.cpp:67:27: error: expected primary-expression before ':' token
0_0_37233405_12315.cpp:72:19: error: expected unqualified-id before '[' token
for(auto &[a, b]:tmp)
^
0_0_37233405_12315.cpp:72:19: error: expected ';' before '[' token
0_0_37233405_12315.cpp:72:23: error: 'b' was not declared in this scope
for(auto &[a, b]:tmp)
^
0_0_37233405_12315.cpp: In lambda function:
0_0_37233405_12315.cpp:72:25: error: expected '{' before ':' token
for(auto &[a, b]:tmp)
^
0_0_37233405_12315.cpp: In function 'int main()':
0_0_37233405_12315.cpp:72:25: error: expected ';' before ':' token
0_0_37233405_12315.cpp:72:25: error: expected primary-expression before ':' token
0_0_37233405_12315.cpp:72:25: error: expected ')' before ':' token
0_0_37233405_12315.cpp:72:25: error: expected primary-expression before ':' token
|