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_38393036_7025.cpp:10:1: error: 'vector' does not name a type
 vector<int>v;
 ^
0_0_38393036_7025.cpp: In function 'int F(int, int, int)':
0_0_38393036_7025.cpp:31:3: error: 'v' was not declared in this scope
   v.push_back(i);
   ^
0_0_38393036_7025.cpp:34:10: error: 'v' was not declared in this scope
  int k = v.size();
          ^
0_0_38393036_7025.cpp:35:9: error: 'debug' was not declared in this scope
  debug(k);
         ^
0_0_38393036_7025.cpp:40:3: error: 'cin' was not declared in this scope
   cin >> x >> y;
   ^
0_0_38393036_7025.cpp: In function 'void slove()':
0_0_38393036_7025.cpp:51:8: error: 'cin' was not declared in this scope
  while(cin >> n >> m >> q){
        ^
0_0_38393036_7025.cpp:57:17: error: 'v' was not declared in this scope
     if(vis[i] & v[now] != v[now])continue;
                 ^
0_0_38393036_7025.cpp:59:9: error: 'v' was not declared in this scope
      if(v[now] & v[a])continue;
         ^
0_0_38393036_7025.cpp:61:10: error: 'v' was not declared in this scope
       if(v[now] & v[b])continue;
          ^
0_0_38393036_7025.cpp:63:11: error: 'v' was not declared in this scope
        if(v[now] & v[c])continue;
           ^
0_0_38393036_7025.cpp:65:12: error: 'v' was not declared in this scope
         if(v[now] & v[d])continue;
            ^
0_0_38393036_7025.cpp:67:96: error: 'max' was not declared in this scope
          f[temp][now][a][b][c][d] = max(f[temp][now][a][b][c][d],f[old][a][b][c][d][e] + C[now]);
                                                                                                ^
0_0_38393036_7025.cpp:77:78: error: 'max' was not declared in this scope
   rep(a,z)rep(b,z)rep(c,z)rep(d,z)rep(e,z)ans = max(ans,f[now][a][b][c][d][e]);
                                                                              ^
0_0_38393036_7025.cpp:3:14: error: 'cout' was not declared in this scope
 #define over cout << ans << endl
              ^
0_0_38393036_7025.cpp:78:3: note: in expansion of macro 'over'
   over;  
   ^
0_0_38393036_7025.cpp:3:29: error: 'endl' was not declared in this scope
 #define over cout << ans << endl
                             ^
0_0_38393036_7025.cpp:78:3: note: in expansion of macro 'over'
   over;  
   ^
0_0_38393036_7025.cpp: In function 'int main()':
0_0_38393036_7025.cpp:83:2: error: 'IOS' was not declared in this scope
  IOS;
  ^


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-10-31 15:25:55, Gzip enabled