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_13469158_26952.cpp:2:4: error: stray '#' in program
  2 #include<string.h>
    ^
0_0_13469158_26952.cpp:3:4: error: stray '#' in program
  3 #define N 205
    ^
0_0_13469158_26952.cpp:2:2: error: expected unqualified-id before numeric constant
  2 #include<string.h>
  ^
0_0_13469158_26952.cpp:5:2: error: expected unqualified-id before numeric constant
  5 int ans[N],dp[N][N],f[N][N];
  ^
0_0_13469158_26952.cpp:6:2: error: expected unqualified-id before numeric constant
  6 int visit[N],head[N];
  ^
0_0_13469158_26952.cpp:7:2: error: expected unqualified-id before numeric constant
  7 struct Line{int v,next;}edge[N];
  ^
0_0_13469158_26952.cpp:7:28: error: 'edge' does not name a type
  7 struct Line{int v,next;}edge[N];
                            ^
0_0_13469158_26952.cpp:8:2: error: expected unqualified-id before numeric constant
  8 int max(int a,int b){return a>b?a:b;}
  ^
0_0_13469158_26952.cpp:9:2: error: expected unqualified-id before numeric constant
  9 void add(int u,int v)
  ^
0_0_13469158_26952.cpp:15:1: error: expected unqualified-id before numeric constant
 15 void dfs(int root)
 ^


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-26 10:09:17, Gzip enabled