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_36985412_12563.cpp:2:4: error: stray '#' in program
  2 #include <cstring>
    ^
0_0_36985412_12563.cpp:3:4: error: stray '#' in program
  3 #include <algorithm>
    ^
0_0_36985412_12563.cpp:4:4: error: stray '#' in program
  4 #include <queue>
    ^
0_0_36985412_12563.cpp:2:2: error: expected unqualified-id before numeric constant
  2 #include <cstring>
  ^
0_0_36985412_12563.cpp:6:2: error: expected unqualified-id before numeric constant
  6 
  ^
0_0_36985412_12563.cpp:8:2: error: expected unqualified-id before numeric constant
  8 
  ^
0_0_36985412_12563.cpp:10:1: error: expected unqualified-id before numeric constant
 10 int n,t;
 ^
0_0_36985412_12563.cpp:11:1: error: expected unqualified-id before numeric constant
 11 priority_queue<pair<int,int> > que;
 ^
0_0_36985412_12563.cpp:12:1: error: expected unqualified-id before numeric constant
 12 
 ^
0_0_36985412_12563.cpp:14:1: error: expected unqualified-id before numeric constant
 14 int union_set(int x,int y){ int xx=find_root(x),yy=find_root(y);if(xx>yy) swap(xx,yy); arr[xx]=yy; return yy; }
 ^
0_0_36985412_12563.cpp:15:1: error: expected unqualified-id before numeric constant
 15 //大的放到小的上面
 ^


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:58:07, Gzip enabled