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_19599697_17725.cpp:2:4: error: stray '#' in program
  2 #include <cstdio>
    ^
0_0_19599697_17725.cpp:3:4: error: stray '#' in program
  3 #include <algorithm>
    ^
0_0_19599697_17725.cpp:4:4: error: stray '#' in program
  4 #include <cstring>
    ^
0_0_19599697_17725.cpp:5:4: error: stray '#' in program
  5 #define rep(i,l,r) for(int i=l; i<=r; i++)
    ^
0_0_19599697_17725.cpp:6:4: error: stray '#' in program
  6 #define clr(x,y) memset(x,y,sizeof(x))
    ^
0_0_19599697_17725.cpp:2:2: error: expected unqualified-id before numeric constant
  2 #include <cstdio>
  ^
0_0_19599697_17725.cpp:5:36: error: 'i' does not name a type
  5 #define rep(i,l,r) for(int i=l; i<=r; i++)
                                    ^
0_0_19599697_17725.cpp:5:42: error: 'i' does not name a type
  5 #define rep(i,l,r) for(int i=l; i<=r; i++)
                                          ^
0_0_19599697_17725.cpp:8:2: error: expected unqualified-id before numeric constant
  8 const int maxn = 5002;
  ^
0_0_19599697_17725.cpp:9:2: error: expected unqualified-id before numeric constant
  9 inline int read(){
  ^
0_0_19599697_17725.cpp:18:1: error: expected unqualified-id before numeric constant
 18 int n,r,x,y,z,g[maxn][maxn];
 ^
0_0_19599697_17725.cpp:19:1: error: expected unqualified-id before numeric constant
 19 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-11-16 16:24:41, Gzip enabled