In file included from /usr/include/c++/5/unordered_map:35:0,
from prog.cpp:2:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the \
^
prog.cpp: In function 'int main()':
prog.cpp:16:9: error: 'unordered_map' was not declared in this scope
unordered_map<long long int ,int> mymap ;
^
prog.cpp:16:23: error: expected primary-expression before 'long'
unordered_map<long long int ,int> mymap ;
^
prog.cpp:53:5: error: 'mymap' was not declared in this scope
mymap.insert(p);
^
prog.cpp:65:18: error: 'ans' does not name a type
auto ans = mymap.find(searcs);
^
prog.cpp:66:16: error: 'ans' was not declared in this scope
if(ans!=mymap.end())
^
prog.cpp:66:21: error: 'mymap' was not declared in this scope
if(ans!=mymap.end())
^
prog.cpp:74:12: error: 'flag' was not declared in this scope
if(flag)
^
prog.cpp: At global scope:
prog.cpp:81:1: error: expected unqualified-id before 'return'
return 0;
^
prog.cpp:82:1: error: expected declaration before '}' token
}
^