F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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;
              ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-29 01:48:19, Gzip enabled