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_27966728_14659.cpp: In function 'void addedge(int, int)':
0_0_27966728_14659.cpp:103:2: error: 'pnt' was not declared in this scope
  pnt[ecnt] = v, nxt[ecnt] = head[u], head[u] = ecnt++;
  ^
0_0_27966728_14659.cpp:103:6: error: 'ecnt' was not declared in this scope
  pnt[ecnt] = v, nxt[ecnt] = head[u], head[u] = ecnt++;
      ^
0_0_27966728_14659.cpp:103:17: error: 'nxt' was not declared in this scope
  pnt[ecnt] = v, nxt[ecnt] = head[u], head[u] = ecnt++;
                 ^
0_0_27966728_14659.cpp:103:29: error: 'head' was not declared in this scope
  pnt[ecnt] = v, nxt[ecnt] = head[u], head[u] = ecnt++;
                             ^
0_0_27966728_14659.cpp: In function 'void Tarjan(int, int)':
0_0_27966728_14659.cpp:111:15: error: 'head' was not declared in this scope
  for (int i = head[u];~i;i = nxt[i]) {
               ^
0_0_27966728_14659.cpp:111:30: error: 'nxt' was not declared in this scope
  for (int i = head[u];~i;i = nxt[i]) {
                              ^
0_0_27966728_14659.cpp:112:11: error: 'pnt' was not declared in this scope
   int v = pnt[i];
           ^
0_0_27966728_14659.cpp: In function 'int main()':
0_0_27966728_14659.cpp:145:11: error: 'head' was not declared in this scope
    memset(head, -1,sizeof head);
           ^
0_0_27966728_14659.cpp:146:4: error: 'ecnt' was not declared in this scope
    ecnt = 0;
    ^


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 00:08:15, Gzip enabled