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_13809947_18234.cpp:12:1: error: stray '\' in program
 /\node's father;
 ^
0_0_13809947_18234.cpp:12:1: error: missing terminating ' character
0_0_13809947_18234.cpp:12:1: error: expected unqualified-id before '/' token
0_0_13809947_18234.cpp:14:11: error: 'father' was not declared in this scope
 int *fa = father;
           ^
0_0_13809947_18234.cpp: In function 'void init()':
0_0_13809947_18234.cpp:39:9: error: 'father' was not declared in this scope
  memset(father,-1,sizeof(father));
         ^
0_0_13809947_18234.cpp: In function 'void prim()':
0_0_13809947_18234.cpp:87:3: error: 'father' was not declared in this scope
   father[k] = closed[k];
   ^
0_0_13809947_18234.cpp: In function 'void qurry()':
0_0_13809947_18234.cpp:145:6: error: 'father' was not declared in this scope
   if(father[x] == y) swap(x,y);
      ^
0_0_13809947_18234.cpp:148:12: error: 'father' was not declared in this scope
   }else if(father[y] == x && ans[y] != -1){
            ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-11 00:38:47, Gzip enabled