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_33591333_12367.cpp: In function 'void update(int&, int, int, int)':
0_0_33591333_12367.cpp:23:53: error: 'n2' was not declared in this scope
                             root[i][j],head[i][j],1,n2,
                                                     ^
0_0_33591333_12367.cpp:24:56: error: 'compare' was not declared in this scope
                             va[i][mxh[i][j-1]],va[i][j]))
                                                        ^
0_0_33591333_12367.cpp:34:53: error: 'n2' was not declared in this scope
                             root[i][j],head[i][j],1,n2,
                                                     ^
0_0_33591333_12367.cpp:35:56: error: 'compare' was not declared in this scope
                             va[i][mxp[i][j+1]],va[i][j]))
                                                        ^
0_0_33591333_12367.cpp:42:15: error: 'q' was not declared in this scope
         while(q--){
               ^
0_0_33591333_12367.cpp:49:32: error: 'n2' was not declared in this scope
                              1,n2,va[c+1][mxh[c+1][b-1]] ,va[a-1][mxp[a-1][d+1]] ) )
                                ^
0_0_33591333_12367.cpp:49:82: error: 'compare' was not declared in this scope
                              1,n2,va[c+1][mxh[c+1][b-1]] ,va[a-1][mxp[a-1][d+1]] ) )
                                                                                  ^
0_0_33591333_12367.cpp: At global scope:
0_0_33591333_12367.cpp:57:1: error: expected declaration before '}' token
 }
 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 09:35:28, Gzip enabled