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_39462973_8976.cpp:19:8: error: expected initializer before '*' token
   19 | } st[N]*4;
      |        ^
0_0_39462973_8976.cpp: In function 'void merge(int, int)':
0_0_39462973_8976.cpp:32:9: error: 'st' was not declared in this scope; did you mean 't'?
   32 |         st[++top] = {x, y, height[x] == height[y]};
      |         ^~
      |         t
0_0_39462973_8976.cpp: In function 'void fenzhi(int, int, int)':
0_0_39462973_8976.cpp:64:24: error: 'st' was not declared in this scope; did you mean 't'?
   64 |                 height[st[top].y] -= st[top].add;
      |                        ^~
      |                        t


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-02 14:20:33, Gzip enabled