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_25047889_8261.cpp:2:3: error: stray '#' in program
 2.#define lson l,m,rt<<1  
   ^
0_0_25047889_8261.cpp:3:3: error: stray '#' in program
 3.#define rson m+1,r,rt<<1|1  
   ^
0_0_25047889_8261.cpp:4:3: error: stray '#' in program
 4.#define fi first  
   ^
0_0_25047889_8261.cpp:5:3: error: stray '#' in program
 5.#define se second  
   ^
0_0_25047889_8261.cpp:6:3: error: stray '#' in program
 6.#define pb push_back  
   ^
0_0_25047889_8261.cpp:7:3: error: stray '#' in program
 7.#define MP make_pair  
   ^
0_0_25047889_8261.cpp:8:3: error: stray '#' in program
 8.#define FIN freopen("in.tx","r",stdin)  
   ^
0_0_25047889_8261.cpp:9:3: error: stray '#' in program
 9.#define FOUT freopen("out.txt","w",stdout)  
   ^
0_0_25047889_8261.cpp:2:1: error: expected unqualified-id before numeric constant
 2.#define lson l,m,rt<<1  
 ^
0_0_25047889_8261.cpp:11:1: error: expected unqualified-id before numeric constant
 11.typedef long long LL;  
 ^
0_0_25047889_8261.cpp:12:1: error: expected unqualified-id before numeric constant
 12.typedef unsigned long long ULL;  
 ^
0_0_25047889_8261.cpp:13:1: error: expected unqualified-id before numeric constant
 13.typedef pair<int,int>pii;  
 ^
0_0_25047889_8261.cpp:14:1: error: expected unqualified-id before numeric constant
 14.typedef pair<LL,LL>pll;  
 ^
0_0_25047889_8261.cpp:15:1: error: expected unqualified-id before numeric constant
 15.const int inf = 0x3f3f3f3f;  
 ^
0_0_25047889_8261.cpp:16:1: error: expected unqualified-id before numeric constant
 16.const int mod1 = 1e9+7;  
 ^
0_0_25047889_8261.cpp:17:1: error: expected unqualified-id before numeric constant
 17.const int mod2 = 1e9+9;  
 ^
0_0_25047889_8261.cpp:18:1: error: expected unqualified-id before numeric constant
 18.const int MX = 1e5+7;  
 ^
0_0_25047889_8261.cpp:19:1: error: expected unqualified-id before numeric constant
 19.const int has = 99959;  
 ^
0_0_25047889_8261.cpp:20:1: error: expected unqualified-id before numeric constant
 20.  
 ^
0_0_25047889_8261.cpp:22:1: error: expected unqualified-id before numeric constant
 22.int nxt[MX];  
 ^
0_0_25047889_8261.cpp:23:1: error: expected unqualified-id before numeric constant
 23.int a[MX];  
 ^
0_0_25047889_8261.cpp:24:1: error: expected unqualified-id before numeric constant
 24.char str1[MX],str2[MX];  
 ^
0_0_25047889_8261.cpp:25:1: error: expected unqualified-id before numeric constant
 25.LL P1[MX],P2[MX];  
 ^
0_0_25047889_8261.cpp:26:1: error: expected unqualified-id before numeric constant
 26.pll H[MX];//本题的数据比较厉害,用普通的hash会被卡,得用双重hash来存储才能过。  
 ^
0_0_25047889_8261.cpp:27:1: error: expected unqualified-id before numeric constant
 27.unordered_map<LL,int>mp;  
 ^
0_0_25047889_8261.cpp:28:1: error: expected unqualified-id before numeric constant
 28.  
 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 08:17:05, Gzip enabled