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_39320286_13371.cpp: In function 'void bulid(int, int, int)':
0_0_39320286_13371.cpp:96:25: error: 'w' was not declared in this scope
   96 |         if(l==r) tr[p]={w[p],0,l,l};
      |                         ^
0_0_39320286_13371.cpp:96:35: error: no match for 'operator=' (operand types are 'node' and '<brace-enclosed initializer list>')
   96 |         if(l==r) tr[p]={w[p],0,l,l};
      |                                   ^
0_0_39320286_13371.cpp:29:8: note: candidate: 'constexpr node& node::operator=(const node&)'
   29 | struct node
      |        ^~~~
0_0_39320286_13371.cpp:29:8: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const node&'
0_0_39320286_13371.cpp:29:8: note: candidate: 'constexpr node& node::operator=(node&&)'
0_0_39320286_13371.cpp:29:8: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'node&&'
0_0_39320286_13371.cpp:98:20: error: 'u' was not declared in this scope
   98 |                 tr[u]={0,0,l,r};
      |                    ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 08:46:16, Gzip enabled