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_32866081_22291.cpp: In function 'void init()':
0_0_32866081_22291.cpp:14:32: error: 'memset' was not declared in this scope
  memset(father,0,sizeof(father));
                                ^
0_0_32866081_22291.cpp: In function 'bool input()':
0_0_32866081_22291.cpp:18:8: error: 'cin' was not declared in this scope
  while(cin>>n>>m>>w) {
        ^
0_0_32866081_22291.cpp:26:33: error: 'log' was not declared in this scope
     else mp[i][j] = log(mp[i][j]);
                                 ^
0_0_32866081_22291.cpp:33:33: error: 'log' was not declared in this scope
     else pp[i][j] = log(pp[i][j]);
                                 ^
0_0_32866081_22291.cpp: In function 'void dfs(int, int)':
0_0_32866081_22291.cpp:42:3: error: 'cout' was not declared in this scope
   cout<<pos;
   ^
0_0_32866081_22291.cpp:46:2: error: 'cout' was not declared in this scope
  cout<<" "<<pos;
  ^
0_0_32866081_22291.cpp: In function 'void cal()':
0_0_32866081_22291.cpp:80:9: error: 'puts' was not declared in this scope
  puts("");
         ^
0_0_32866081_22291.cpp: In function 'int main()':
0_0_32866081_22291.cpp:89: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-05-19 21:33:25, Gzip enabled