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_19608949_32236.cpp:2:5: error: stray '#' in program
   2 #include <cstdio>
     ^
0_0_19608949_32236.cpp:3:5: error: stray '#' in program
   3 #include <algorithm>
     ^
0_0_19608949_32236.cpp:4:5: error: stray '#' in program
   4 #include <cstring>
     ^
0_0_19608949_32236.cpp:5:5: error: stray '#' in program
   5 #define rep(i,l,r) for(int i=l; i<=r; i++)
     ^
0_0_19608949_32236.cpp:6:5: error: stray '#' in program
   6 #define clr(x,y) memset(x,y,sizeof(x))
     ^
0_0_19608949_32236.cpp:7:5: error: stray '#' in program
   7 #define travel(x) for(Edge *p=last[x]; p; p=p->pre)
     ^
0_0_19608949_32236.cpp:2:3: error: expected unqualified-id before numeric constant
   2 #include <cstdio>
   ^
0_0_19608949_32236.cpp:5:37: error: 'i' does not name a type
   5 #define rep(i,l,r) for(int i=l; i<=r; i++)
                                     ^
0_0_19608949_32236.cpp:5:43: error: 'i' does not name a type
   5 #define rep(i,l,r) for(int i=l; i<=r; i++)
                                           ^
0_0_19608949_32236.cpp:7:44: error: 'p' does not name a type
   7 #define travel(x) for(Edge *p=last[x]; p; p=p->pre)
                                            ^
0_0_19608949_32236.cpp:7:47: error: 'p' does not name a type
   7 #define travel(x) for(Edge *p=last[x]; p; p=p->pre)
                                               ^
0_0_19608949_32236.cpp:9:3: error: expected unqualified-id before numeric constant
   9 const int INF = 0x7fffffff;
   ^
0_0_19608949_32236.cpp:10:2: error: expected unqualified-id before numeric constant
  10 const int maxn = 50010;
  ^
0_0_19608949_32236.cpp:11:2: error: expected unqualified-id before numeric constant
  11 int n,m,a[maxn],mn=INF,mx=-INF,l,r,k,pos,opt;
  ^
0_0_19608949_32236.cpp:12:2: error: expected unqualified-id before numeric constant
  12 struct Node{
  ^


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-29 12:32:20, Gzip enabled