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_28200415_22913.cpp: In function 'void update(int, int, int)':
0_0_28200415_22913.cpp:23:64: error: 'val' was not declared in this scope
  for(register int i=l; i<=min(B[l]*Big,r); i++)if(A[i]!=v)A[i]=val;
                                                                ^
0_0_28200415_22913.cpp:26:55: error: 'val' was not declared in this scope
   for(int i=(B[r]-1)*Big+1; i<=r; i++)if(A[i]!=v)A[i]=val;
                                                       ^


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 16:45:23, Gzip enabled