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_39488976_2963.cpp:26:28: error: 'll' has not been declared
   26 | void addedge(int u, int v, ll t){
      |                            ^~
0_0_39488976_2963.cpp: In function 'void addedge(long long int, long long int, int)':
0_0_39488976_2963.cpp:27:9: error: 'cnt' was not declared in this scope; did you mean 'int'?
   27 |     e[++cnt]= (Edge){v, head[u], t};
      |         ^~~
      |         int
0_0_39488976_2963.cpp: In function 'void solve()':
0_0_39488976_2963.cpp:35:55: error: 'Inf' was not declared in this scope
   35 |     for (int i = 1;i <= n;++i) head[i] = -1, dis[i] = Inf, vis[i] = 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-15 09:50:06, Gzip enabled