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_29423919_5913.cpp:11:1: error: 'node' does not name a type
 node en;
 ^
0_0_29423919_5913.cpp:12:5: error: 'node' was not declared in this scope
 map<node, int>dp;
     ^
0_0_29423919_5913.cpp:12:14: error: template argument 1 is invalid
 map<node, int>dp;
              ^
0_0_29423919_5913.cpp:12:14: error: template argument 3 is invalid
0_0_29423919_5913.cpp:12:14: error: template argument 4 is invalid
0_0_29423919_5913.cpp:12:17: error: invalid type in declaration before ';' token
 map<node, int>dp;
                 ^
0_0_29423919_5913.cpp: In function 'int dfs(node)':
0_0_29423919_5913.cpp:45:12: error: 'en' was not declared in this scope
  if (!(now<en)&&!(en<now))return 0;
            ^
0_0_29423919_5913.cpp:46:15: error: no match for 'operator[]' (operand types are 'int' and 'node')
  int &ret = dp[now];
               ^
0_0_29423919_5913.cpp: In function 'int main()':
0_0_29423919_5913.cpp:73:6: error: request for member 'clear' in 'dp', which is of non-class type 'int'
   dp.clear();
      ^
0_0_29423919_5913.cpp:121:3: error: 'en' was not declared in this scope
   en = node();
   ^


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-26 06:52:33, Gzip enabled