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_20930363_31714.cpp:10:17: error: array must be initialized with a brace-enclosed initializer
   int a[4][4]={0};
                 ^
0_0_20930363_31714.cpp: In member function 'void S_Tree::push_up(int)':
0_0_20930363_31714.cpp:58:5: error: expected ';' before '}' token
     }
     ^
0_0_20930363_31714.cpp: In member function 'void S_Tree::update(int, int, int)':
0_0_20930363_31714.cpp:63:17: error: no matching function for call to 'S_Tree::updatedote(int&)'
     updatedote(x);
                 ^
0_0_20930363_31714.cpp:63:17: note: candidate is:
0_0_20930363_31714.cpp:43:6: note: void S_Tree::updatedote(int, int)
 void S_Tree::updatedote(int t,int num){
      ^
0_0_20930363_31714.cpp:43:6: note:   candidate expects 2 arguments, 1 provided


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-17 06:33:46, Gzip enabled