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_39488962_29361.cpp:25:25: error: 'll' does not name a type
   25 | struct Edge{int to, nxt;ll len;}e[N * 3];
      |                         ^~
0_0_39488962_29361.cpp: In function 'void solve()':
0_0_39488962_29361.cpp:31:55: error: 'Inf' was not declared in this scope
   31 |     for (int i = 1;i <= n;++i) head[i] = -1, dis[i] = Inf, vis[i] = 0;
      |                                                       ^~~
0_0_39488962_29361.cpp:35:13: error: 'addedge' was not declared in this scope; did you mean 'edge'?
   35 |             addedge(u, v, t);
      |             ^~~~~~~
      |             edge
0_0_39488962_29361.cpp:38:36: error: 'addedge' was not declared in this scope; did you mean 'edge'?
   38 |         for (int j = 2;j <= n;++j) addedge(1, j, 1ll * k * (1 | j));
      |                                    ^~~~~~~
      |                                    edge


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:41:22, Gzip enabled