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_13795206_26169.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13795206_26169.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13795206_26169.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13795206_26169.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13795206_26169.cpp: In function 'void DFS(int, int)':
0_0_13795206_26169.cpp:20:26: error: 'max' was not declared in this scope
   max_dpt=max(max_dpt,dpt);
                          ^
0_0_13795206_26169.cpp:21:26: error: 'min' was not declared in this scope
   min_dpt=min(min_dpt,dpt);
                          ^
0_0_13795206_26169.cpp: In function 'int Tree_DP(int, int)':
0_0_13795206_26169.cpp:35:3: error: 'cout' was not declared in this scope
   cout
   ^
0_0_13795206_26169.cpp: In function 'int main()':
0_0_13795206_26169.cpp:44:2: error: 'cinn' was not declared in this scope
  cinn;
  ^
0_0_13795206_26169.cpp:46:3: error: expected ';' before 'scanf'
   scanf("%d%d",&ls[i],&rs[i]);
   ^
0_0_13795206_26169.cpp:46:29: error: 'scanf' was not declared in this scope
   scanf("%d%d",&ls[i],&rs[i]);
                             ^
0_0_13795206_26169.cpp:46:30: error: expected ')' before ';' token
   scanf("%d%d",&ls[i],&rs[i]);
                              ^
0_0_13795206_26169.cpp:48:20: error: lvalue required as left operand of assignment
  if(max_dpt-min_dpt=2)
                    ^
0_0_13795206_26169.cpp:49:10: error: 'cout' was not declared in this scope
   return cout
          ^
0_0_13795206_26169.cpp:50:2: error: expected ';' before 'if'
  if(max_dpt==min_dpt)
  ^
0_0_13795206_26169.cpp:51:10: error: 'cout' was not declared in this scope
   return cout
          ^
0_0_13795206_26169.cpp:52:2: error: expected ';' before 'Tree_DP'
  Tree_DP(1,1);
  ^
0_0_13795206_26169.cpp:53:2: error: 'cout' was not declared in this scope
  cout
  ^


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-23 04:43:30, Gzip enabled