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_38506520_14113.cpp: In function 'void slove()':
0_0_38506520_14113.cpp:7:2: error: 'cin' was not declared in this scope
  cin >> n >> m;
  ^
0_0_38506520_14113.cpp:9:2: error: 'vector' was not declared in this scope
  vector<vector<vector<bool> > >Z(n + 1,vector<vector<bool> >(n + 1, vector<bool>(2, false)));
  ^
0_0_38506520_14113.cpp:9:23: error: expected primary-expression before 'bool'
  vector<vector<vector<bool> > >Z(n + 1,vector<vector<bool> >(n + 1, vector<bool>(2, false)));
                       ^
0_0_38506520_14113.cpp:10:23: error: expected primary-expression before 'bool'
  vector<vector<vector<bool> > >X(n + 1,vector<vector<bool> >(n + 1, vector<bool>(2, false)));
                       ^
0_0_38506520_14113.cpp:11:23: error: expected primary-expression before 'bool'
  vector<vector<vector<bool> > >Y(n + 1,vector<vector<bool> >(n + 1, vector<bool>(2, false)));
                       ^
0_0_38506520_14113.cpp:23:9: error: 'Z' was not declared in this scope
      if(Z[i][x][0] || Z[i][y][1])cnt--;
         ^
0_0_38506520_14113.cpp:26:5: error: 'X' was not declared in this scope
     X[x][y][0] = 1;
     ^
0_0_38506520_14113.cpp:30:9: error: 'Y' was not declared in this scope
      if(Y[i][x][0] || Y[i][z][1])cnt--;
         ^
0_0_38506520_14113.cpp:33:5: error: 'X' was not declared in this scope
     X[x][z][1] = 1; 
     ^
0_0_38506520_14113.cpp:39:9: error: 'Z' was not declared in this scope
      if(Z[i][x][0] || Z[i][y][1])cnt--;
         ^
0_0_38506520_14113.cpp:42:5: error: 'Y' was not declared in this scope
     Y[y][x][0] = 1;    
     ^
0_0_38506520_14113.cpp:46:9: error: 'X' was not declared in this scope
      if(X[i][y][0] || X[i][z][1])cnt--;
         ^
0_0_38506520_14113.cpp:49:5: error: 'Y' was not declared in this scope
     Y[y][z][1] = 1;
     ^
0_0_38506520_14113.cpp:55:9: error: 'Y' was not declared in this scope
      if(Y[i][x][0] || Y[i][z][1])cnt--;
         ^
0_0_38506520_14113.cpp:58:5: error: 'Z' was not declared in this scope
     Z[z][x][0] = 1;
     ^
0_0_38506520_14113.cpp:62:9: error: 'X' was not declared in this scope
      if(X[i][y][0] || X[i][z][1])cnt--;
         ^
0_0_38506520_14113.cpp:65:5: error: 'Z' was not declared in this scope
     Z[z][y][1] = 1;
     ^
0_0_38506520_14113.cpp:70:2: error: 'cout' was not declared in this scope
  cout << ans << "\n";
  ^
0_0_38506520_14113.cpp: In function 'int main()':
0_0_38506520_14113.cpp:73:2: error: 'ios' has not been declared
  ios::sync_with_stdio(0);
  ^
0_0_38506520_14113.cpp:74:2: error: 'cin' was not declared in this scope
  cin.tie(0);
  ^
0_0_38506520_14113.cpp:75:2: error: 'cout' was not declared in this scope
  cout.tie(0);
  ^


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-09-28 00:19:48, Gzip enabled