0_0_37935462_170.cpp:1:17: error: stray '#' in program
Valley Numer II #include<bits/stdc++.h>
^
0_0_37935462_170.cpp:1:1: error: 'Valley' does not name a type
Valley Numer II #include<bits/stdc++.h>
^
0_0_37935462_170.cpp:13:1: error: 'bitset' does not name a type
bitset <31> w;
^
0_0_37935462_170.cpp: In function 'void work(int)':
0_0_37935462_170.cpp:16:5: error: 'w' was not declared in this scope
if(w[x]) return;
^
0_0_37935462_170.cpp:17:2: error: 'vector' was not declared in this scope
vector <node> p;
^
0_0_37935462_170.cpp:17:14: error: expected primary-expression before '>' token
vector <node> p;
^
0_0_37935462_170.cpp:17:16: error: 'p' was not declared in this scope
vector <node> p;
^
0_0_37935462_170.cpp:19:17: error: 'w' was not declared in this scope
if(!e[x][a]||!w[a]) continue;
^
0_0_37935462_170.cpp:21:18: error: 'w' was not declared in this scope
if(!e[x][b]||!w[b]||a==b) continue;
^
0_0_37935462_170.cpp:26:14: error: unable to deduce 'auto&&' from 'p'
for(node y:p){
^
0_0_37935462_170.cpp:30:90: error: 'max' was not declared in this scope
f[low[x]][s|(1<<h[a])|(1<<h[b])]=max(f[low[x]][s|(1<<h[a])|(1<<h[b])],f[low[x]-1][s]+1);
^
0_0_37935462_170.cpp: In function 'int main()':
0_0_37935462_170.cpp:38:2: error: 'cin' was not declared in this scope
cin>>T;
^
0_0_37935462_170.cpp:46:4: error: 'w' was not declared in this scope
w[i]=low[i]=h[i]=0;
^
0_0_37935462_170.cpp:56:4: error: 'w' was not declared in this scope
w[x]=1;
^
0_0_37935462_170.cpp:59:8: error: 'w' was not declared in this scope
if(!w[i])
^
0_0_37935462_170.cpp:70:26: error: 'max' was not declared in this scope
ans=max(ans,f[cnt1][i]);
^
0_0_37935462_170.cpp:72:3: error: 'cout' was not declared in this scope
cout<<ans<<endl;
^
0_0_37935462_170.cpp:72:14: error: 'endl' was not declared in this scope
cout<<ans<<endl;
^
|