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_39115522_21488.cpp:2:4: error: stray '#' in program
    2 |  2 #include <cstring>
      |    ^
0_0_39115522_21488.cpp:3:4: error: stray '#' in program
    3 |  3 #include <algorithm>
      |    ^
0_0_39115522_21488.cpp:5:4: error: stray '#' in program
    5 |  5 #define N 101
      |    ^
0_0_39115522_21488.cpp:2:2: error: expected unqualified-id before numeric constant
    2 |  2 #include <cstring>
      |  ^
0_0_39115522_21488.cpp:5:2: error: expected unqualified-id before numeric constant
    5 |  5 #define N 101
      |  ^
0_0_39115522_21488.cpp:9:5: error: 'EDGE' does not name a type
    9 |  9 }EDGE;
      |     ^~~~
0_0_39115522_21488.cpp:10:1: error: expected unqualified-id before numeric constant
   10 | 10 int set[N],n,r;
      | ^~
0_0_39115522_21488.cpp:11:1: error: expected unqualified-id before numeric constant
   11 | 11 EDGE edge[N*N];
      | ^~
0_0_39115522_21488.cpp:12:1: error: expected unqualified-id before numeric constant
   12 | 12 int cmp(const EDGE& a,EDGE& b)
      | ^~
0_0_39115522_21488.cpp:16:1: error: expected unqualified-id before numeric constant
   16 | 16 void MergeSet(int a,int b)
      | ^~
0_0_39115522_21488.cpp:23:1: error: expected unqualified-id before numeric constant
   23 | 23 int main()
      | ^~


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-12-01 10:24:47, Gzip enabled