In file included from /usr/include/c++/4.9/regex:35:0,
from P1.cpp:8:
/usr/include/c++/4.9/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 \
^
P1.cpp: In function ‘int main()’:
P1.cpp:38:3: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
auto t = (Avector.back() % mod)* (Avector.back() % mod) % mod;
^
P1.cpp:38:8: error: ‘t’ does not name a type
auto t = (Avector.back() % mod)* (Avector.back() % mod) % mod;
^
P1.cpp:42:22: error: ‘t’ was not declared in this scope
Avector.push_back(t);
^
P1.cpp:58:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<binary.size(); i++)
^
P1.cpp:28:12: warning: unused variable ‘temp’ [-Wunused-variable]
long long temp = 1;
^