In file included from /usr/include/c++/4.9/unordered_map:35:0,
from queen.cpp:2:
/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 \
^
queen.cpp:16:24: error: ‘>>’ should be ‘> >’ within a nested template argument list
pair<int, pair<int, int>> b[1000000];
^
queen.cpp:18:1: error: ‘unordered_map’ does not name a type
unordered_map<int, int> s[701];
^
queen.cpp:19:1: error: ‘unordered_map’ does not name a type
unordered_map<int, unordered_set<int>> v[701];
^
queen.cpp: In function ‘void process(int, int, int)’:
queen.cpp:44:5: error: ‘s’ was not declared in this scope
if(s[0].count(hi)){
^
queen.cpp:62:3: error: ‘v’ was not declared in this scope
v[i-1][ii].insert(hi);
^
queen.cpp:63:6: error: ‘s’ was not declared in this scope
if(s[i].count(hi))
^
queen.cpp:67:3: error: ‘s’ was not declared in this scope
s[i][hi] = 0;
^
queen.cpp:215:2: error: ‘v’ was not declared in this scope
v[i-1][ii].insert(hi);
^
queen.cpp:216:2: error: ‘s’ was not declared in this scope
s[i][hi] = 0;
^
queen.cpp:27:12: warning: unused variable ‘k’ [-Wunused-variable]
int i, j, k, l;
^
queen.cpp:27:15: warning: unused variable ‘l’ [-Wunused-variable]
int i, j, k, l;
^
queen.cpp:28:9: warning: unused variable ‘ti’ [-Wunused-variable]
int si,ti;
^
queen.cpp: In function ‘void process2(int, int, int)’:
queen.cpp:220:12: warning: unused variable ‘k’ [-Wunused-variable]
int i, j, k, l;
^
queen.cpp:220:15: warning: unused variable ‘l’ [-Wunused-variable]
int i, j, k, l;
^
queen.cpp:221:9: warning: unused variable ‘ti’ [-Wunused-variable]
int si,ti;
^
queen.cpp: In function ‘int main()’:
queen.cpp:464:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[i][j][ii][jj][kk] = cc;
^
queen.cpp:464:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[i][j][ii][jj][kk] = cc;
^
queen.cpp:464:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[i][j][ii][jj][kk] = cc;
^
queen.cpp:478:5: error: ‘s’ was not declared in this scope
s[j].clear();
^
queen.cpp:479:5: error: ‘v’ was not declared in this scope
v[j].clear();
^
queen.cpp:496:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
for(auto x : s[j])
^
queen.cpp:496:14: error: ‘x’ does not name a type
for(auto x : s[j])
^
queen.cpp:512:4: error: expected ‘;’ before ‘}’ token
}
^
queen.cpp:512:4: error: expected primary-expression before ‘}’ token
queen.cpp:512:4: error: expected ‘;’ before ‘}’ token
queen.cpp:512:4: error: expected primary-expression before ‘}’ token
queen.cpp:512:4: error: expected ‘)’ before ‘}’ token
queen.cpp:512:4: error: expected primary-expression before ‘}’ token
queen.cpp:440:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
queen.cpp:445:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", x);
^
queen.cpp:471:75: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &b[i].first, &b[i].second.first, &b[i].second.second);
^