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_39539734_21478.cpp: In function 'void solve()':
0_0_39539734_21478.cpp:42:46: error: 't' was not declared in this scope
   42 |     for (int i = 0;i < m;i++) scanf("%d%d", &t.tree[i][0], &t.tree[i][1]);
      |                                              ^
0_0_39539734_21478.cpp: In lambda function:
0_0_39539734_21478.cpp:44:14: error: 't' was not declared in this scope; did you mean 'tr'?
   44 |         if (!t.tree[u][0] && !t.tree[u][1]) {
      |              ^
      |              tr
0_0_39539734_21478.cpp:50:17: error: 't' was not declared in this scope; did you mean 'tr'?
   50 |             if (t.tree[u][i]) self(self, t.tree[u][i], depth + 1);
      |                 ^
      |                 tr
0_0_39539734_21478.cpp: In function 'void solve()':
0_0_39539734_21478.cpp:54:5: error: 't' was not declared in this scope; did you mean 'tr'?
   54 |     t.build();
      |     ^
      |     tr


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-15 00:25:58, Gzip enabled