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_39174618_1342.cpp:6:6: error: stray '\243' in program
    6 | int n<a3><ac>k;
      |      ^~~~
0_0_39174618_1342.cpp:6:7: error: stray '\254' in program
    6 | int n<a3><ac>k;
      |          ^~~~
0_0_39174618_1342.cpp:6:8: error: expected initializer before 'k'
    6 | int n£¬k;
      |        ^
0_0_39174618_1342.cpp: In function 'int kruskal()':
0_0_39174618_1342.cpp:23:13: error: 'n' was not declared in this scope
   23 |     int m = n * (n - 1) / 2;
      |             ^
0_0_39174618_1342.cpp:28:5: error: 'sort' was not declared in this scope; did you mean 'short'?
   28 |     sort(e + 1, e + 1 + m);
      |     ^~~~
      |     short
0_0_39174618_1342.cpp: In function 'int main()':
0_0_39174618_1342.cpp:42:26: error: 'n' was not declared in this scope
   42 |     while (~scanf("%d", &n) && n)
      |                          ^
0_0_39174618_1342.cpp:47:56: error: 'k' was not declared in this scope
   47 |             scanf("%d%d%d", &e[i].u, &e[i].v, &e[i].w,&k);
      |                                                        ^


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-30 11:25:07, Gzip enabled