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_22140116_17945.cpp: In function 'void init()':
0_0_22140116_17945.cpp:15:32: error: 'memset' was not declared in this scope
  memset(father,0,sizeof(father));
                                ^
0_0_22140116_17945.cpp: In function 'bool input()':
0_0_22140116_17945.cpp:19:8: error: 'cin' was not declared in this scope
  while(cin>>n>>m>>w) {
        ^
0_0_22140116_17945.cpp:27:33: error: 'log' was not declared in this scope
     else mp[i][j] = log(mp[i][j]);
                                 ^
0_0_22140116_17945.cpp:34:33: error: 'log' was not declared in this scope
     else pp[i][j] = log(pp[i][j]);
                                 ^
0_0_22140116_17945.cpp: In function 'void dfs(int, int)':
0_0_22140116_17945.cpp:43:3: error: 'cout' was not declared in this scope
   cout<<pos;
   ^
0_0_22140116_17945.cpp:47:2: error: 'cout' was not declared in this scope
  cout<<" "<<pos;
  ^
0_0_22140116_17945.cpp: In function 'void cal()':
0_0_22140116_17945.cpp:81:9: error: 'puts' was not declared in this scope
  puts("");
         ^
0_0_22140116_17945.cpp: In function 'int main()':
0_0_22140116_17945.cpp:90:2: error: 'cin' was not declared in this scope
  cin>>t;
  ^


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-27 06:37:51, Gzip enabled