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_26128148_14956.cpp:17:9: error: 'MAXN' was not declared in this scope
 }points[MAXN];
         ^
0_0_26128148_14956.cpp:27:11: error: 'MAXN' was not declared in this scope
 int hashx[MAXN], hashy[MAXN];
           ^
0_0_26128148_14956.cpp:27:24: error: 'MAXN' was not declared in this scope
 int hashx[MAXN], hashy[MAXN];
                        ^
0_0_26128148_14956.cpp: In function 'void gomapping()':
0_0_26128148_14956.cpp:34:9: error: 'hashx' was not declared in this scope
         hashx[i] = points[i].x;
         ^
0_0_26128148_14956.cpp:34:20: error: 'points' was not declared in this scope
         hashx[i] = points[i].x;
                    ^
0_0_26128148_14956.cpp:35:9: error: 'hashy' was not declared in this scope
         hashy[i] = points[i].y;
         ^
0_0_26128148_14956.cpp:37:10: error: 'hashx' was not declared in this scope
     sort(hashx+1,hashx+1+N);
          ^
0_0_26128148_14956.cpp:38:10: error: 'hashy' was not declared in this scope
     sort(hashy+1,hashy+1+N);
          ^
0_0_26128148_14956.cpp:43:9: error: 'points' was not declared in this scope
         points[i].x = lower_bound(hashx+1,hashx+1+cntx,points[i].x) - hashx;
         ^
0_0_26128148_14956.cpp: At global scope:
0_0_26128148_14956.cpp:49:8: error: 'MAXN' was not declared in this scope
 int dp[MAXN];
        ^
0_0_26128148_14956.cpp:51:10: error: 'MAXN' was not declared in this scope
 int tree[MAXN];
          ^
0_0_26128148_14956.cpp: In function 'void update(int, int)':
0_0_26128148_14956.cpp:60:9: error: 'tree' was not declared in this scope
         tree[pos] = dp[pos];
         ^
0_0_26128148_14956.cpp:60:21: error: 'dp' was not declared in this scope
         tree[pos] = dp[pos];
                     ^
0_0_26128148_14956.cpp: In function 'int query(int, int)':
0_0_26128148_14956.cpp:72:23: error: 'dp' was not declared in this scope
         ans = max(ans,dp[r]);
                       ^
0_0_26128148_14956.cpp:75:27: error: 'tree' was not declared in this scope
             ans = max(ans,tree[r]);
                           ^
0_0_26128148_14956.cpp: In function 'int main()':
0_0_26128148_14956.cpp:84:10: error: '_' was not declared in this scope
     cin>>_;
          ^
0_0_26128148_14956.cpp:88:33: error: 'points' was not declared in this scope
         for(int i=1;i<=N;++i)   points[i].read();
                                 ^
0_0_26128148_14956.cpp:89:14: error: 'points' was not declared in this scope
         sort(points+1,points+1+N);
              ^
0_0_26128148_14956.cpp:92:16: error: 'tree' was not declared in this scope
         memset(tree,0,sizeof(tree));
                ^
0_0_26128148_14956.cpp:93:16: error: 'dp' was not declared in this scope
         memset(dp,0,sizeof(dp));
                ^


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-09-29 13:27:28, Gzip enabled