0_0_17022455_27753.cpp:5:1: error: 'usingnamespace' does not name a type
usingnamespace std;
^
0_0_17022455_27753.cpp:9:1: error: 'constint' does not name a type
constint fac[]={1,1,2,6,24,120,720,5040,40320};
^
0_0_17022455_27753.cpp: In function 'int inv_hash(char*)':
0_0_17022455_27753.cpp:17:14: error: 'fac' was not declared in this scope
ans+=fac[i]*cnt;
^
0_0_17022455_27753.cpp: In function 'void cvrA(Node&)':
0_0_17022455_27753.cpp:33:26: error: 'reverse' was not declared in this scope
reverse(n.str,n.str+8);
^
0_0_17022455_27753.cpp:33:26: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from 0_0_17022455_27753.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1177:5: note: 'std::reverse'
reverse(_BidirectionalIterator __first, _BidirectionalIterator __last)
^
0_0_17022455_27753.cpp: In function 'void bfs()':
0_0_17022455_27753.cpp:53:5: error: 'queue' was not declared in this scope
queue<Node> que;
^
0_0_17022455_27753.cpp:53:5: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
from 0_0_17022455_27753.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:96:11: note: 'std::queue'
class queue
^
0_0_17022455_27753.cpp:53:15: error: expected primary-expression before '>' token
queue<Node> que;
^
0_0_17022455_27753.cpp:53:17: error: 'que' was not declared in this scope
queue<Node> que;
^
|