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_25894781_10205.cpp: In function 'void add(int, int, LL)':
0_0_25894781_10205.cpp:30:12: error: 'split' was not declared in this scope
     split(l);
            ^
0_0_25894781_10205.cpp:32:12: error: 'itl' was not declared in this scope
     for (; itl != itr; ++itl) itl->v += val;
            ^
0_0_25894781_10205.cpp: In function 'void replace(int, int, LL)':
0_0_25894781_10205.cpp:36:12: error: 'split' was not declared in this scope
     split(l);
            ^
0_0_25894781_10205.cpp:38:14: error: 'itl' was not declared in this scope
     st.erase(itl, itr); 
              ^
0_0_25894781_10205.cpp: In function 'void tophi(int, int)':
0_0_25894781_10205.cpp:43:12: error: 'split' was not declared in this scope
     split(l);
            ^
0_0_25894781_10205.cpp:45:12: error: 'itl' was not declared in this scope
     for (; itl != itr; ++itl) itl->v = phi[itl->v];
            ^
0_0_25894781_10205.cpp: In function 'LL sum(int, int)':
0_0_25894781_10205.cpp:49:12: error: 'split' was not declared in this scope
     split(l);
            ^
0_0_25894781_10205.cpp:52:12: error: 'itl' was not declared in this scope
     for (; itl != itr; ++itl) res += (itl->r - itl->l + 1) * itl->v;
            ^


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-28 04:56:46, Gzip enabled