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_15392098_9745.cpp:11:6: error: 'dep' was not declared in this scope
 }aaa[dep][maxn];
      ^
0_0_15392098_9745.cpp:11:11: error: 'maxn' was not declared in this scope
 }aaa[dep][maxn];
           ^
0_0_15392098_9745.cpp: In function 'int query(int)':
0_0_15392098_9745.cpp:14:12: error: 'fuck' was not declared in this scope
  int l=0,r=fuck.size()-1;
            ^
0_0_15392098_9745.cpp: In function 'void merge(int, int, int, int)':
0_0_15392098_9745.cpp:23:2: error: 'wmj' was not declared in this scope
  wmj *aaa=aa[dep+1],*a=aa[dep];
  ^
0_0_15392098_9745.cpp:23:7: error: 'aaa' was not declared in this scope
  wmj *aaa=aa[dep+1],*a=aa[dep];
       ^
0_0_15392098_9745.cpp:23:11: error: 'aa' was not declared in this scope
  wmj *aaa=aa[dep+1],*a=aa[dep];
           ^
0_0_15392098_9745.cpp:23:22: error: 'a' was not declared in this scope
  wmj *aaa=aa[dep+1],*a=aa[dep];
                      ^
0_0_15392098_9745.cpp: In function 'void init()':
0_0_15392098_9745.cpp:41:12: error: 'aa' was not declared in this scope
  node *aaa=aa[0];
            ^
0_0_15392098_9745.cpp:42:17: error: 'n' was not declared in this scope
  for(int i=1;i<=n;i++){
                 ^
0_0_15392098_9745.cpp:46:17: error: 'n' was not declared in this scope
  for(int i=1;i<=n;i++){
                 ^
0_0_15392098_9745.cpp:52:17: error: 'n' was not declared in this scope
  for(int i=1;i<=n;i++){
                 ^
0_0_15392098_9745.cpp:56:15: error: 'n' was not declared in this scope
  merge_sort(1,n,0);
               ^
0_0_15392098_9745.cpp: At global scope:
0_0_15392098_9745.cpp:58:7: error: 'maxn' was not declared in this scope
 int t[maxn<<1],tim,cls[maxn];
       ^
0_0_15392098_9745.cpp:58:24: error: 'maxn' was not declared in this scope
 int t[maxn<<1],tim,cls[maxn];
                        ^
0_0_15392098_9745.cpp: In function 'void solve(int, int, int)':
0_0_15392098_9745.cpp:61:10: error: 'aa' was not declared in this scope
  node *a=aa[dep],*aaa=aa[dep+1];
          ^
0_0_15392098_9745.cpp:63:15: error: too few arguments to function 'void solve(int, int, int)'
  solve(mid+1,r);
               ^
0_0_15392098_9745.cpp:59:6: note: declared here
 void solve(int l,int r,int dep){
      ^
0_0_15392098_9745.cpp:64:26: error: expected primary-expression before ')' token
  for(int i=r;i>=l;i++)if(){
                          ^
0_0_15392098_9745.cpp:66:13: error: too few arguments to function 'void solve(int, int, int)'
  solve(l,mid);
             ^
0_0_15392098_9745.cpp:59:6: note: declared here
 void solve(int l,int r,int dep){
      ^
0_0_15392098_9745.cpp: In function 'void insert(int, int)':
0_0_15392098_9745.cpp:70:11: error: 't' was not declared in this scope
   if(tim==t[x])bq[x]=max(bq[x],val);
           ^
0_0_15392098_9745.cpp:70:16: error: 'bq' was not declared in this scope
   if(tim==t[x])bq[x]=max(bq[x],val);
                ^
0_0_15392098_9745.cpp:71:8: error: 'bq' was not declared in this scope
   else bq[x]=val;
        ^
0_0_15392098_9745.cpp: In function 'int qq(int)':
0_0_15392098_9745.cpp:76:27: error: 't' was not declared in this scope
  for(;x;x-=x&(-x))if(tim==t[x])tmp=max(tmp,bq[x]);
                           ^
0_0_15392098_9745.cpp:76:44: error: 'bq' was not declared in this scope
  for(;x;x-=x&(-x))if(tim==t[x])tmp=max(tmp,bq[x]);
                                            ^
0_0_15392098_9745.cpp: At global scope:
0_0_15392098_9745.cpp:79:8: error: 'maxn' was not declared in this scope
 int bq[maxn];
        ^
0_0_15392098_9745.cpp: In function 'int main()':
0_0_15392098_9745.cpp:83:20: error: 'n' was not declared in this scope
  while(scanf("%d",&n)!=EOF){
                    ^


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-30 01:53:21, Gzip enabled