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_28225659_4518.cpp: In function 'void Down(int)':
0_0_28225659_4518.cpp:6:5: error: 'add' was not declared in this scope
  if(add[id[x]]!=-1)return ;
     ^
0_0_28225659_4518.cpp:7:21: error: 'l' was not declared in this scope
  for(int i=max(1,id[l]*S);i<min((id[l]+1)*S,n+1);i++)a[i]=add[x];
                     ^
0_0_28225659_4518.cpp:7:59: error: 'add' was not declared in this scope
  for(int i=max(1,id[l]*S);i<min((id[l]+1)*S,n+1);i++)a[i]=add[x];
                                                           ^
0_0_28225659_4518.cpp:8:2: error: 'add' was not declared in this scope
  add[x]=-1;
  ^
0_0_28225659_4518.cpp: In function 'void Update(int, int, int)':
0_0_28225659_4518.cpp:11:57: error: 'add' was not declared in this scope
  for(int i=id[l]+1;i<id[r];i++)mp[i].clear(),mp[i][z]=S,add[i]=Z;
                                                         ^
0_0_28225659_4518.cpp:11:64: error: 'Z' was not declared in this scope
  for(int i=id[l]+1;i<id[r];i++)mp[i].clear(),mp[i][z]=S,add[i]=Z;
                                                                ^
0_0_28225659_4518.cpp:12:19: error: 'kk' was not declared in this scope
  if(id[l]==id[r]){kk
                   ^


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-25 14:32:47, Gzip enabled