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_39774587_28772.cpp: In function 'void push_up(int)':
0_0_39774587_28772.cpp:32:27: error: request for member 'l' in 'u', which is of non-class type 'int'
   32 |         tr[u].len1 = tr[u.l << 1].len1 + tr[u.l << 1 | 1].len1;
      |                           ^
0_0_39774587_28772.cpp:32:47: error: request for member 'l' in 'u', which is of non-class type 'int'
   32 |         tr[u].len1 = tr[u.l << 1].len1 + tr[u.l << 1 | 1].len1;
      |                                               ^
0_0_39774587_28772.cpp:39:27: error: request for member 'l' in 'u', which is of non-class type 'int'
   39 |         tr[u].len2 = tr[u.l << 1].len1 + tr[u.l << 1 | 1].len1;
      |                           ^
0_0_39774587_28772.cpp:39:47: error: request for member 'l' in 'u', which is of non-class type 'int'
   39 |         tr[u].len2 = tr[u.l << 1].len1 + tr[u.l << 1 | 1].len1;
      |                                               ^
0_0_39774587_28772.cpp:41:27: error: request for member 'l' in 'u', which is of non-class type 'int'
   41 |         tr[u].len2 = tr[u.l << 1].len2 + tr[u.l << 1 | 1].len2;
      |                           ^
0_0_39774587_28772.cpp:41:47: error: request for member 'l' in 'u', which is of non-class type 'int'
   41 |         tr[u].len2 = tr[u.l << 1].len2 + tr[u.l << 1 | 1].len2;
      |                                               ^


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-03 05:19:07, Gzip enabled