0_0_23053808_27788.cpp:8:1: error: 'vector' does not name a type
vector<vector<pi> > e;
^
0_0_23053808_27788.cpp: In function 'int rec(int, int, int)':
0_0_23053808_27788.cpp:15:6: error: 'i' was not declared in this scope
rep(i, e[c].size()) if(e[c][i].S != p){
^
0_0_23053808_27788.cpp:15:9: error: 'e' was not declared in this scope
rep(i, e[c].size()) if(e[c][i].S != p){
^
0_0_23053808_27788.cpp:15:20: error: 'rep' was not declared in this scope
rep(i, e[c].size()) if(e[c][i].S != p){
^
0_0_23053808_27788.cpp: At global scope:
0_0_23053808_27788.cpp:29:8: error: 'vi' does not name a type
inline vi getcycle(int id){
^
0_0_23053808_27788.cpp: In function 'bool can(int)':
0_0_23053808_27788.cpp:54:2: error: 'vi' was not declared in this scope
vi cy = getcycle(id);
^
0_0_23053808_27788.cpp:56:5: error: 'cy' was not declared in this scope
if(cy.empty()){
^
0_0_23053808_27788.cpp:57:3: error: 'e' was not declared in this scope
e[a[id]].pb(mp(b[id], id));
^
0_0_23053808_27788.cpp:57:27: error: 'mp' was not declared in this scope
e[a[id]].pb(mp(b[id], id));
^
0_0_23053808_27788.cpp:64:2: error: 'queue' was not declared in this scope
queue<pi> q;
^
0_0_23053808_27788.cpp:64:2: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:85,
from 0_0_23053808_27788.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:96:11: note: 'std::queue'
class queue
^
0_0_23053808_27788.cpp:64:8: error: 'pi' was not declared in this scope
queue<pi> q;
^
0_0_23053808_27788.cpp:64:12: error: 'q' was not declared in this scope
queue<pi> q;
^
0_0_23053808_27788.cpp:68:17: error: 'mp' was not declared in this scope
q.push(mp(id, 0));
^
0_0_23053808_27788.cpp:75:6: error: 'isX' was not declared in this scope
if(isX){
^
0_0_23053808_27788.cpp:81:7: error: expected ';' before 'cy'
vi cy = getcycle(cur);
^
0_0_23053808_27788.cpp:83:7: error: 'cy' was not declared in this scope
if(cy.empty() || cy.size() == 1 && cy[0] == cur){
^
0_0_23053808_27788.cpp:88:10: error: 'i' was not declared in this scope
rep(i, N) rep(j, e[i].size()) if(e[i][j].S == cur){
^
0_0_23053808_27788.cpp:88:14: error: 'rep' was not declared in this scope
rep(i, N) rep(j, e[i].size()) if(e[i][j].S == cur){
^
0_0_23053808_27788.cpp:93:7: error: 'e' was not declared in this scope
e[a[cur]].pb(mp(b[cur], cur));
^
0_0_23053808_27788.cpp:97:11: error: 'it' was not declared in this scope
rep(it, N){
^
0_0_23053808_27788.cpp:113:8: error: 'i' was not declared in this scope
rep(i, cy.size()) if(cy[i] != cur){
^
0_0_23053808_27788.cpp:113:11: error: 'cy' was not declared in this scope
rep(i, cy.size()) if(cy[i] != cur){
^
0_0_23053808_27788.cpp:113:20: error: 'rep' was not declared in this scope
rep(i, cy.size()) if(cy[i] != cur){
^
0_0_23053808_27788.cpp: In function 'bool run()':
0_0_23053808_27788.cpp:129:2: error: 'e' was not declared in this scope
e.clear();
^
0_0_23053808_27788.cpp:132:2: error: 'vi' was not declared in this scope
vi vs;
^
0_0_23053808_27788.cpp:134:6: error: 'i' was not declared in this scope
rep(i, n){
^
0_0_23053808_27788.cpp:134:10: error: 'rep' was not declared in this scope
rep(i, n){
^
0_0_23053808_27788.cpp:139:11: error: 'vs' was not declared in this scope
sort(all(vs));
^
0_0_23053808_27788.cpp:139:13: error: 'all' was not declared in this scope
sort(all(vs));
^
0_0_23053808_27788.cpp:139:14: error: 'sort' was not declared in this scope
sort(all(vs));
^
0_0_23053808_27788.cpp:139:14: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_23053808_27788.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4705:5: note: 'std::sort'
sort(_RandomAccessIterator __first, _RandomAccessIterator __last,
^
0_0_23053808_27788.cpp:140:25: error: 'unique' was not declared in this scope
vs.erase(unique(all(vs)), vs.end());
^
0_0_23053808_27788.cpp:140:25: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_23053808_27788.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1022:5: note: 'std::unique'
unique(_ForwardIterator __first, _ForwardIterator __last,
^
0_0_23053808_27788.cpp:153:2: error: 'cout' was not declared in this scope
cout << ans << endl;
^
0_0_23053808_27788.cpp:153:2: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:74:0,
from 0_0_23053808_27788.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
0_0_23053808_27788.cpp:153:17: error: 'endl' was not declared in this scope
cout << ans << endl;
^
0_0_23053808_27788.cpp:153:17: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_23053808_27788.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:564:5: note: 'std::endl'
endl(basic_ostream<_CharT, _Traits>& __os)
^
|