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_36756086_26337.cpp:10:28: error: 'acos' was not declared in this scope
 const double PI = acos(-1.0); 
                            ^
0_0_36756086_26337.cpp: In function 'void dfs(int)':
0_0_36756086_26337.cpp:21:30: error: 'memset' was not declared in this scope
  memset(f[u], 0, sizeof(f[u])); // 如果是叶子节点,并且花费为0时,要变成1
                              ^
0_0_36756086_26337.cpp: In function 'int main()':
0_0_36756086_26337.cpp:52:29: error: 'memset' was not declared in this scope
   memset(vis, 0, sizeof(vis)); 
                             ^


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-06 02:21:52, Gzip enabled