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_23897956_22275.cpp: In function 'void STUpdate(int, int, int, int, int, STree)':
0_0_23897956_22275.cpp:90:45: error: invalid conversion from 'STree {aka segmenttree*}' to 'int' [-fpermissive]
  if(pp <= mid) STUpdate(pp, l, mid, p<<1, ST);
                                             ^
0_0_23897956_22275.cpp:90:45: error: too few arguments to function 'void STUpdate(int, int, int, int, int, STree)'
0_0_23897956_22275.cpp:80:6: note: declared here
 void STUpdate(int pp, int val, int l, int r, int p, STree ST) {
      ^
0_0_23897956_22275.cpp:91:42: error: invalid conversion from 'STree {aka segmenttree*}' to 'int' [-fpermissive]
  else STUpdate(pp, mid + 1, r, p<<1|1, ST);
                                          ^
0_0_23897956_22275.cpp:91:42: error: too few arguments to function 'void STUpdate(int, int, int, int, int, STree)'
0_0_23897956_22275.cpp:80:6: note: declared here
 void STUpdate(int pp, int val, int l, int r, int p, STree ST) {
      ^


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-26 01:22:27, Gzip enabled