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_33157674_29205.cpp:8:42: error: redefinition of 'int vis [2510]'
 int pre[MAXN<<1],vis[MAXN<<1],vis[MAXN<<1];
                                          ^
0_0_33157674_29205.cpp:8:18: note: 'int vis [2510]' previously declared here
 int pre[MAXN<<1],vis[MAXN<<1],vis[MAXN<<1];
                  ^
0_0_33157674_29205.cpp: In function 'int hargarian()':
0_0_33157674_29205.cpp:12:9: error: 'link' was not declared in this scope
  memset(link,-1,sizeof(link));
         ^
0_0_33157674_29205.cpp:18:11: error: 'q' was not declared in this scope
    while(!q.empty()) q.pop();
           ^
0_0_33157674_29205.cpp:19:4: error: 'q' was not declared in this scope
    q.push(i);
    ^


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-26 03:59:32, Gzip enabled