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_30194207_14264.cpp:3:32: error: '_L' was not declared in this scope
 int add(int rt, int x, int L = _L, int R = _R)
                                ^
0_0_30194207_14264.cpp:3:44: error: '_R' was not declared in this scope
 int add(int rt, int x, int L = _L, int R = _R)
                                            ^
0_0_30194207_14264.cpp: In function 'int add(int, int, int, int)':
0_0_30194207_14264.cpp:5:19: error: '_new' was not declared in this scope
     int nr = _new();
                   ^
0_0_30194207_14264.cpp:6:5: error: '_pst' was not declared in this scope
     _pst[nr] = _pst[rt];
     ^
0_0_30194207_14264.cpp: At global scope:
0_0_30194207_14264.cpp:24:40: error: '_L' was not declared in this scope
 int qry(int lr, int rr, int k, int L = _L, int R = _R)
                                        ^
0_0_30194207_14264.cpp:24:52: error: '_R' was not declared in this scope
 int qry(int lr, int rr, int k, int L = _L, int R = _R)
                                                    ^
0_0_30194207_14264.cpp: In function 'int qry(int, int, int, int, int)':
0_0_30194207_14264.cpp:32:16: error: '_pst' was not declared in this scope
         return _pst[rr].cnt - _pst[lr].cnt;
                ^
0_0_30194207_14264.cpp:36:16: error: '_pst' was not declared in this scope
     res += qry(_pst[lr].lc, _pst[rr].lc, k, L, Mid);
                ^
0_0_30194207_14264.cpp: At global scope:
0_0_30194207_14264.cpp:41:1: error: expected declaration before '}' token
 } // namespace PST
 ^


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-26 21:29:26, Gzip enabled