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_39436521_18730.cpp:38:12: error: redefinition of 'int newpoint_fhqtreap(int)'
   38 | inline int newpoint_fhqtreap(int val){
      |            ^~~~~~~~~~~~~~~~~
0_0_39436521_18730.cpp:30:12: note: 'int newpoint_fhqtreap(int)' previously defined here
   30 | inline int newpoint_fhqtreap(int val){
      |            ^~~~~~~~~~~~~~~~~
0_0_39436521_18730.cpp: In function 'int newpoint_fhqtreap(int)':
0_0_39436521_18730.cpp:43:17: error: 'struct fanhaoqiangtreap' has no member named 'tg2'
   43 |         tr[num].tg2=1;
      |                 ^~~
0_0_39436521_18730.cpp: In function 'void pushup_fhqtreap(int)':
0_0_39436521_18730.cpp:53:73: error: 'MOD' was not declared in this scope
   53 |         tr[u].sum=(tr[tr[u].son[0]].sum+tr[tr[u].son[1]].sum+tr[u].val)%MOD;
      |                                                                         ^~~


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-25 13:23:06, Gzip enabled