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_37669704_28098.cpp: In function 'void pushdown(int, int, int)':
0_0_37669704_28098.cpp:33:2: error: 'll' was not declared in this scope
  ll s=lazy[root];
  ^
0_0_37669704_28098.cpp:35:11: error: 's' was not declared in this scope
  lazy[rt]=s;
           ^
0_0_37669704_28098.cpp: At global scope:
0_0_37669704_28098.cpp:69:1: error: 'll' does not name a type
 ll query(int root,int left,int right,int qleft,int qright){
 ^
0_0_37669704_28098.cpp: In function 'int main()':
0_0_37669704_28098.cpp:90:2: error: 'll' was not declared in this scope
  ll ans=0;
  ^
0_0_37669704_28098.cpp:102:6: error: 'ans' was not declared in this scope
      ans=query(1,1,n,1,n);
      ^
0_0_37669704_28098.cpp:102:25: error: 'query' was not declared in this scope
      ans=query(1,1,n,1,n);
                         ^
0_0_37669704_28098.cpp:106:63: error: 'ans' was not declared in this scope
  printf("Case %d: The total value of the hook is %d.\n",++cas,ans);
                                                               ^


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-10-06 04:07:37, Gzip enabled