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_35835695_16639.cpp:2:4: error: stray '#' in program
  2 #define F(i,a,b) for(int i=a;i<=b;++i)
    ^
0_0_35835695_16639.cpp:2:2: error: expected unqualified-id before numeric constant
  2 #define F(i,a,b) for(int i=a;i<=b;++i)
  ^
0_0_35835695_16639.cpp:2:33: error: 'i' does not name a type
  2 #define F(i,a,b) for(int i=a;i<=b;++i)
                                 ^
0_0_35835695_16639.cpp:2:38: error: expected unqualified-id before '++' token
  2 #define F(i,a,b) for(int i=a;i<=b;++i)
                                      ^
0_0_35835695_16639.cpp:4:2: error: expected unqualified-id before numeric constant
  4 
  ^
0_0_35835695_16639.cpp:6:2: error: expected unqualified-id before numeric constant
  6 int n,m,a[N],num[N],vis[N],now,t,tmp,all;
  ^
0_0_35835695_16639.cpp:7:2: error: expected unqualified-id before numeric constant
  7 
  ^


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-25 07:52:32, Gzip enabled