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_15742970_5539.cpp:1:3: error: stray '#' in program
 6 #pragma comment(linker, "/STACK:1024000000,1024000000")
   ^
0_0_15742970_5539.cpp:2:5: error: stray '#' in program
   7 #include <stdio.h>
     ^
0_0_15742970_5539.cpp:3:5: error: stray '#' in program
   8 #include <string.h>
     ^
0_0_15742970_5539.cpp:4:5: error: stray '#' in program
   9 #include <iostream>
     ^
0_0_15742970_5539.cpp:5:5: error: stray '#' in program
  10 #include <algorithm>
     ^
0_0_15742970_5539.cpp:6:5: error: stray '#' in program
  11 #include <vector>
     ^
0_0_15742970_5539.cpp:7:5: error: stray '#' in program
  12 #include <queue>
     ^
0_0_15742970_5539.cpp:8:5: error: stray '#' in program
  13 #include <set>
     ^
0_0_15742970_5539.cpp:9:5: error: stray '#' in program
  14 #include <map>
     ^
0_0_15742970_5539.cpp:10:5: error: stray '#' in program
  15 #include <string>
     ^
0_0_15742970_5539.cpp:11:5: error: stray '#' in program
  16 #include <math.h>
     ^
0_0_15742970_5539.cpp:12:5: error: stray '#' in program
  17 #include <stdlib.h>
     ^
0_0_15742970_5539.cpp:13:5: error: stray '#' in program
  18 #include <time.h>
     ^
0_0_15742970_5539.cpp:1:1: error: expected unqualified-id before numeric constant
 6 #pragma comment(linker, "/STACK:1024000000,1024000000")
 ^
0_0_15742970_5539.cpp:15:2: error: expected unqualified-id before numeric constant
  20 const int MAXN = 50010;
  ^
0_0_15742970_5539.cpp:16:2: error: expected unqualified-id before numeric constant
  21 struct Edge
  ^
0_0_15742970_5539.cpp:19:6: error: 'edge' does not name a type
  24 }edge[MAXN*2];
      ^
0_0_15742970_5539.cpp:20:2: error: expected unqualified-id before numeric constant
  25 int head[MAXN],tot;
  ^
0_0_15742970_5539.cpp:21:2: error: expected unqualified-id before numeric constant
  26 int top[MAXN];
  ^
0_0_15742970_5539.cpp:22:2: error: expected unqualified-id before numeric constant
  27 int fa[MAXN];
  ^
0_0_15742970_5539.cpp:23:2: error: expected unqualified-id before numeric constant
  28 int deep[MAXN];
  ^
0_0_15742970_5539.cpp:24:2: error: expected unqualified-id before numeric constant
  29 int num[MAXN];
  ^
0_0_15742970_5539.cpp:25:2: error: expected unqualified-id before numeric constant
  30 int p[MAXN];
  ^
0_0_15742970_5539.cpp:26:2: error: expected unqualified-id before numeric constant
  31 int fp[MAXN];
  ^
0_0_15742970_5539.cpp:27:2: error: expected unqualified-id before numeric constant
  32 int son[MAXN];
  ^
0_0_15742970_5539.cpp:28:2: error: expected unqualified-id before numeric constant
  33 int pos;
  ^
0_0_15742970_5539.cpp:29:2: error: expected unqualified-id before numeric constant
  34 void init()
  ^
0_0_15742970_5539.cpp:36:2: error: expected unqualified-id before numeric constant
  41 void addedge(int u,int v)
  ^
0_0_15742970_5539.cpp:40:2: error: expected unqualified-id before numeric constant
  45 void dfs1(int u,int pre,int d)
  ^


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-09-29 08:17:52, Gzip enabled