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_16988714_12631.cpp:1:5: error: stray '#' in program
   1 #include<stdio.h>
     ^
0_0_16988714_12631.cpp:2:5: error: stray '#' in program
   2 #include<iostream>
     ^
0_0_16988714_12631.cpp:5:5: error: stray '#' in program
   5 #include<math.h>
     ^
0_0_16988714_12631.cpp:6:5: error: stray '#' in program
   6 #include<stdlib.h>
     ^
0_0_16988714_12631.cpp:7:5: error: stray '#' in program
   7 #include<algorithm>
     ^
0_0_16988714_12631.cpp:8:5: error: stray '#' in program
   8 #include<string>
     ^
0_0_16988714_12631.cpp:9:5: error: stray '#' in program
   9 #include<string.h>
     ^
0_0_16988714_12631.cpp:10:5: error: stray '#' in program
  10 #include<map>
     ^
0_0_16988714_12631.cpp:11:5: error: stray '#' in program
  11 #include<queue>
     ^
0_0_16988714_12631.cpp:12:5: error: stray '#' in program
  12 #define repA(p,q,i)  for(int (i)=(p); (i)!=(q); ++(i) )
     ^
0_0_16988714_12631.cpp:13:5: error: stray '#' in program
  13 #define repD(p,q,i)  for(int (i)=(p); (i)!=(q); --(i) )
     ^
0_0_16988714_12631.cpp:14:5: error: stray '#' in program
  14 #define repAE(p,q,i)  for(int (i)=(p); (i)<=(q); ++(i) )
     ^
0_0_16988714_12631.cpp:15:5: error: stray '#' in program
  15 #define repDE(p,q,i)  for(int (i)=(p); (i)>=(q); --(i) )
     ^
0_0_16988714_12631.cpp:16:5: error: stray '#' in program
  16 #define MOD 4073989
     ^
0_0_16988714_12631.cpp:1:3: error: expected unqualified-id before numeric constant
   1 #include<stdio.h>
   ^
0_0_16988714_12631.cpp:4:3: error: expected unqualified-id before numeric constant
   4 
   ^
0_0_16988714_12631.cpp:12:46: error: expected constructor, destructor, or type conversion before '!=' token
  12 #define repA(p,q,i)  for(int (i)=(p); (i)!=(q); ++(i) )
                                              ^
0_0_16988714_12631.cpp:12:53: error: expected unqualified-id before '++' token
  12 #define repA(p,q,i)  for(int (i)=(p); (i)!=(q); ++(i) )
                                                     ^
0_0_16988714_12631.cpp:13:46: error: expected constructor, destructor, or type conversion before '!=' token
  13 #define repD(p,q,i)  for(int (i)=(p); (i)!=(q); --(i) )
                                              ^
0_0_16988714_12631.cpp:13:53: error: expected unqualified-id before '--' token
  13 #define repD(p,q,i)  for(int (i)=(p); (i)!=(q); --(i) )
                                                     ^
0_0_16988714_12631.cpp:14:47: error: expected constructor, destructor, or type conversion before '<=' token
  14 #define repAE(p,q,i)  for(int (i)=(p); (i)<=(q); ++(i) )
                                               ^
0_0_16988714_12631.cpp:14:54: error: expected unqualified-id before '++' token
  14 #define repAE(p,q,i)  for(int (i)=(p); (i)<=(q); ++(i) )
                                                      ^
0_0_16988714_12631.cpp:15:47: error: expected constructor, destructor, or type conversion before '>=' token
  15 #define repDE(p,q,i)  for(int (i)=(p); (i)>=(q); --(i) )
                                               ^
0_0_16988714_12631.cpp:15:54: error: expected unqualified-id before '--' token
  15 #define repDE(p,q,i)  for(int (i)=(p); (i)>=(q); --(i) )
                                                      ^
0_0_16988714_12631.cpp:19:2: error: expected unqualified-id before numeric constant
  19 int p,x,y,z;
  ^
0_0_16988714_12631.cpp:20:2: error: expected unqualified-id before numeric constant
  20 int LIM;
  ^
0_0_16988714_12631.cpp:21:2: error: expected unqualified-id before numeric constant
  21 int set[MOD];  //  用来表示映射矩阵的值
  ^
0_0_16988714_12631.cpp:22:2: error: expected unqualified-id before numeric constant
  22 int to[MOD];  //  用来做hash映射,表示坐标(x,y)映射到一维数组中的位置 
  ^
0_0_16988714_12631.cpp:23:2: error: expected unqualified-id before numeric constant
  23           // 在hash函数中采用的处理方法,使得可以不用邻接表去储存,其中i表示映射到的位置;
  ^
0_0_16988714_12631.cpp:26:2: error: expected unqualified-id before numeric constant
  26 void getxy(int x, int y, int &nx, int &ny);
  ^
0_0_16988714_12631.cpp:27:2: error: expected unqualified-id before numeric constant
  27 int hash(int x, int y);
  ^
0_0_16988714_12631.cpp:28:2: error: expected unqualified-id before numeric constant
  28 int search(int x, int y);
  ^
0_0_16988714_12631.cpp:29:2: error: expected unqualified-id before numeric constant
  29 void update(int x, int y, int z);
  ^
0_0_16988714_12631.cpp:30:2: error: expected unqualified-id before numeric constant
  30 long long sum(int x, int y);
  ^
0_0_16988714_12631.cpp:31:2: error: expected unqualified-id before numeric constant
  31 
  ^


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-12-02 19:39:46, Gzip enabled