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_13808579_13995.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13808579_13995.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13808579_13995.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13808579_13995.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13808579_13995.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13808579_13995.cpp:16:1: error: 'map' does not name a type
 map nct;
 ^
0_0_13808579_13995.cpp: In function 'void showit(int)':
0_0_13808579_13995.cpp:24:9: error: 'cout' was not declared in this scope
         cout
         ^
0_0_13808579_13995.cpp: In function 'void NewNode(int&, int, int)':
0_0_13808579_13995.cpp:33:34: error: 'nct' was not declared in this scope
     ch[r][0]=ch[r][1]=0; s[r]=1; nct[k]=1;
                                  ^
0_0_13808579_13995.cpp: In function 'void push_up(int)':
0_0_13808579_13995.cpp:39:10: error: 'nct' was not declared in this scope
     s[x]=nct[key[x]]+s[ch[x][1]]+s[ch[x][0]];
          ^
0_0_13808579_13995.cpp: In function 'void init()':
0_0_13808579_13995.cpp:46:5: error: 'nct' was not declared in this scope
     nct.clear();
     ^
0_0_13808579_13995.cpp: In function 'void Insert(int)':
0_0_13808579_13995.cpp:94:5: error: expected ']' before '{' token
     {
     ^
0_0_13808579_13995.cpp:94:5: error: expected ')' before '{' token
0_0_13808579_13995.cpp:97:5: error: expected ']' before '}' token
     }
     ^
0_0_13808579_13995.cpp:97:5: error: expected ';' before '}' token
0_0_13808579_13995.cpp:101:9: error: 'nct' was not declared in this scope
         nct[x]++;
         ^
0_0_13808579_13995.cpp:108:9: error: expected ']' before 'Splay'
         Splay(ch[r][key[r]
         ^
0_0_13808579_13995.cpp:108:9: error: expected ')' before 'Splay'
0_0_13808579_13995.cpp: In function 'void Erase(int)':
0_0_13808579_13995.cpp:131:5: error: expected ']' before '{' token
     {
     ^
0_0_13808579_13995.cpp:131:5: error: expected ')' before '{' token
0_0_13808579_13995.cpp:134:5: error: expected ']' before '}' token
     }
     ^
0_0_13808579_13995.cpp:134:5: error: expected ';' before '}' token
0_0_13808579_13995.cpp:135:5: error: 'nct' was not declared in this scope
     nct[x]--;
     ^
0_0_13808579_13995.cpp:136:14: error: expected ')' before numeric constant
     if(nct[x]0)
              ^
0_0_13808579_13995.cpp:142:5: error: expected ')' before '{' token
     {
     ^
0_0_13808579_13995.cpp:167:1: error: expected primary-expression before '}' token
 }
 ^
0_0_13808579_13995.cpp: In function 'int get_rank(int)':
0_0_13808579_13995.cpp:174:5: error: expected ']' before '{' token
     {
     ^
0_0_13808579_13995.cpp:174:5: error: expected ')' before '{' token
0_0_13808579_13995.cpp:177:9: error: expected ')' before 'r'
         r=ch[r][key[r]
         ^
0_0_13808579_13995.cpp:178:5: error: expected primary-expression before '}' token
     }
     ^
0_0_13808579_13995.cpp: In function 'int get_pre(int)':
0_0_13808579_13995.cpp:189:9: error: expected ')' before '{' token
         {
         ^
0_0_13808579_13995.cpp: In function 'int get_nxt(int)':
0_0_13808579_13995.cpp:204:18: error: expected ')' before 'x'
         if(key[r]x)
                  ^
0_0_13808579_13995.cpp:206:31: error: 'min' was not declared in this scope
             ret=min(ret,key[r]);
                               ^
0_0_13808579_13995.cpp: In function 'int get_kth(int)':
0_0_13808579_13995.cpp:219:48: error: 'nct' was not declared in this scope
         int left=s[ch[r][0]],right=s[ch[r][0]]+nct[key[r]]+1;
                                                ^
0_0_13808579_13995.cpp:221:12: error: 'xleft' was not declared in this scope
         if(xleft&&x
            ^
0_0_13808579_13995.cpp:222:9: error: expected ')' before '{' token
         {
         ^
0_0_13808579_13995.cpp:235:5: error: expected primary-expression before '}' token
     }
     ^
0_0_13808579_13995.cpp: In function 'int main()':
0_0_13808579_13995.cpp:241:22: error: 'scanf' was not declared in this scope
 while(scanf("%d",&T_T)!=EOF)
                      ^
0_0_13808579_13995.cpp:241:25: error: 'EOF' was not declared in this scope
 while(scanf("%d",&T_T)!=EOF)
                         ^
0_0_13808579_13995.cpp:246:5: error: expected ';' before '{' token
     {
     ^
0_0_13808579_13995.cpp:246:5: error: expected primary-expression before '{' token
0_0_13808579_13995.cpp:246:5: error: expected ')' before '{' token
0_0_13808579_13995.cpp:250:48: error: 'printf' was not declared in this scope
         else if(a==3) printf("%d\n",get_rank(b));
                                                ^
0_0_13808579_13995.cpp:251:47: error: 'printf' was not declared in this scope
         else if(a==4) printf("%d\n",get_kth(b));
                                               ^
0_0_13808579_13995.cpp:252:47: error: 'printf' was not declared in this scope
         else if(a==5) printf("%d\n",get_pre(b));
                                               ^
0_0_13808579_13995.cpp:253:47: error: 'printf' was not declared in this scope
         else if(a==6) printf("%d\n",get_nxt(b));
                                               ^


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 22:11:46, Gzip enabled