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_22050045_21578.cpp:15:9: error: 'll' does not name a type
 typedef ll ll ll;
         ^
0_0_22050045_21578.cpp:16:7: error: 'll' does not name a type
 const ll MAXN = 500000+10;//更改
       ^
0_0_22050045_21578.cpp:17:7: error: 'll' does not name a type
 const ll N = MAXN;
       ^
0_0_22050045_21578.cpp:18:7: error: 'll' does not name a type
 const ll INF=1e18+9;
       ^
0_0_22050045_21578.cpp:19:1: error: 'll' does not name a type
 ll wa[MAXN],wb[MAXN],wv[MAXN],Ws[MAXN];
 ^
0_0_22050045_21578.cpp:20:1: error: 'll' does not name a type
 ll sa[MAXN],height[MAXN],RANK[MAXN];
 ^
0_0_22050045_21578.cpp:21:1: error: 'll' does not name a type
 ll len[MAXN];
 ^
0_0_22050045_21578.cpp:23:1: error: 'll' does not name a type
 ll c0(ll *r,ll a,ll b)
 ^
0_0_22050045_21578.cpp:28:1: error: 'll' does not name a type
 ll c12(ll k,ll *r,ll a,ll b)
 ^
0_0_22050045_21578.cpp:34:11: error: variable or field 'sort' declared void
 void sort(ll *r,ll *a,ll *b,ll n,ll m)
           ^
0_0_22050045_21578.cpp:34:11: error: 'll' was not declared in this scope
0_0_22050045_21578.cpp:34:15: error: 'r' was not declared in this scope
 void sort(ll *r,ll *a,ll *b,ll n,ll m)
               ^
0_0_22050045_21578.cpp:34:17: error: 'll' was not declared in this scope
 void sort(ll *r,ll *a,ll *b,ll n,ll m)
                 ^
0_0_22050045_21578.cpp:34:21: error: 'a' was not declared in this scope
 void sort(ll *r,ll *a,ll *b,ll n,ll m)
                     ^
0_0_22050045_21578.cpp:34:23: error: 'll' was not declared in this scope
 void sort(ll *r,ll *a,ll *b,ll n,ll m)
                       ^
0_0_22050045_21578.cpp:34:27: error: 'b' was not declared in this scope
 void sort(ll *r,ll *a,ll *b,ll n,ll m)
                           ^
0_0_22050045_21578.cpp:34:29: error: 'll' was not declared in this scope
 void sort(ll *r,ll *a,ll *b,ll n,ll m)
                             ^
0_0_22050045_21578.cpp:34:34: error: 'll' was not declared in this scope
 void sort(ll *r,ll *a,ll *b,ll n,ll m)
                                  ^
0_0_22050045_21578.cpp:45:10: error: variable or field 'dc3' declared void
 void dc3(ll *r,ll *sa,ll n,ll m) //涵义与DA 相同
          ^
0_0_22050045_21578.cpp:45:10: error: 'll' was not declared in this scope
0_0_22050045_21578.cpp:45:14: error: 'r' was not declared in this scope
 void dc3(ll *r,ll *sa,ll n,ll m) //涵义与DA 相同
              ^
0_0_22050045_21578.cpp:45:16: error: 'll' was not declared in this scope
 void dc3(ll *r,ll *sa,ll n,ll m) //涵义与DA 相同
                ^
0_0_22050045_21578.cpp:45:20: error: 'sa' was not declared in this scope
 void dc3(ll *r,ll *sa,ll n,ll m) //涵义与DA 相同
                    ^
0_0_22050045_21578.cpp:45:23: error: 'll' was not declared in this scope
 void dc3(ll *r,ll *sa,ll n,ll m) //涵义与DA 相同
                       ^
0_0_22050045_21578.cpp:45:28: error: 'll' was not declared in this scope
 void dc3(ll *r,ll *sa,ll n,ll m) //涵义与DA 相同
                            ^
0_0_22050045_21578.cpp:68:16: error: variable or field 'calheight' declared void
 void calheight(ll *r,ll *sa,ll n)
                ^
0_0_22050045_21578.cpp:68:16: error: 'll' was not declared in this scope
0_0_22050045_21578.cpp:68:20: error: 'r' was not declared in this scope
 void calheight(ll *r,ll *sa,ll n)
                    ^
0_0_22050045_21578.cpp:68:22: error: 'll' was not declared in this scope
 void calheight(ll *r,ll *sa,ll n)
                      ^
0_0_22050045_21578.cpp:68:26: error: 'sa' was not declared in this scope
 void calheight(ll *r,ll *sa,ll n)
                          ^
0_0_22050045_21578.cpp:68:29: error: 'll' was not declared in this scope
 void calheight(ll *r,ll *sa,ll n)
                             ^
0_0_22050045_21578.cpp:82:1: error: 'll' does not name a type
 ll n,k;
 ^
0_0_22050045_21578.cpp:83:1: error: 'll' does not name a type
 ll a[MAXN];
 ^
0_0_22050045_21578.cpp:84:8: error: 'MAXN' was not declared in this scope
 char s[MAXN];
        ^
0_0_22050045_21578.cpp:85:1: error: 'll' does not name a type
 ll ans=0;
 ^
0_0_22050045_21578.cpp:86:1: error: 'll' does not name a type
 ll q[2][MAXN];
 ^
0_0_22050045_21578.cpp: In function 'void solve()':
0_0_22050045_21578.cpp:89:5: error: 'll' was not declared in this scope
     ll top=0;
     ^
0_0_22050045_21578.cpp:90:5: error: 'q' was not declared in this scope
     q[0][top]=q[1][top]=0;
     ^
0_0_22050045_21578.cpp:90:10: error: 'top' was not declared in this scope
     q[0][top]=q[1][top]=0;
          ^
0_0_22050045_21578.cpp:92:5: error: 'height' was not declared in this scope
     height[n+1]=0;
     ^
0_0_22050045_21578.cpp:92:12: error: 'n' was not declared in this scope
     height[n+1]=0;
            ^
0_0_22050045_21578.cpp:93:8: error: expected ';' before 'MAX'
     ll MAX=0;
        ^
0_0_22050045_21578.cpp:94:12: error: expected ';' before 'i'
     for(ll i=1;i<=n+1;i++){
            ^
0_0_22050045_21578.cpp:94:16: error: 'i' was not declared in this scope
     for(ll i=1;i<=n+1;i++){
                ^
0_0_22050045_21578.cpp:95:12: error: expected ';' before 'x'
         ll x=height[i];
            ^
0_0_22050045_21578.cpp:96:12: error: expected ';' before 'pre'
         ll pre=x;
            ^
0_0_22050045_21578.cpp:97:12: error: expected ';' before 'M'
         ll M=INF;
            ^
0_0_22050045_21578.cpp:99:12: error: 'k' was not declared in this scope
         if(k==1){
            ^
0_0_22050045_21578.cpp:103:17: error: 'MAX' was not declared in this scope
                 MAX=0;
                 ^
0_0_22050045_21578.cpp:105:13: error: 'ans' was not declared in this scope
             ans+=n-sa[i]-height[i];
             ^
0_0_22050045_21578.cpp:105:20: error: 'sa' was not declared in this scope
             ans+=n-sa[i]-height[i];
                    ^
0_0_22050045_21578.cpp:106:26: error: 'MAX' was not declared in this scope
             if(height[i]>MAX){
                          ^
0_0_22050045_21578.cpp:112:32: error: 'x' was not declared in this scope
         while(top>0&&q[0][top]>x){
                                ^
0_0_22050045_21578.cpp:113:29: error: 'k' was not declared in this scope
             if(i-q[1][top]==k){
                             ^
0_0_22050045_21578.cpp:114:17: error: 'ans' was not declared in this scope
                 ans+=q[0][top];
                 ^
0_0_22050045_21578.cpp:121:13: error: 'pre' was not declared in this scope
             pre=q[0][top];
             ^
0_0_22050045_21578.cpp:122:13: error: 'M' was not declared in this scope
             M=min(M,q[1][top]);
             ^
0_0_22050045_21578.cpp:125:12: error: 'x' was not declared in this scope
         if(x==0)
            ^
0_0_22050045_21578.cpp:127:30: error: 'x' was not declared in this scope
         if(top==0||q[0][top]<x){
                              ^
0_0_22050045_21578.cpp:129:35: error: 'M' was not declared in this scope
             q[1][top]=min(1LL*i-1,M);
                                   ^
0_0_22050045_21578.cpp: In function 'int main()':
0_0_22050045_21578.cpp:135:5: error: 'll' was not declared in this scope
     ll t;
     ^
0_0_22050045_21578.cpp:136:19: error: 't' was not declared in this scope
     scanf("%lld",&t);
                   ^
0_0_22050045_21578.cpp:138:9: error: 'ans' was not declared in this scope
         ans=0;
         ^
0_0_22050045_21578.cpp:139:23: error: 'k' was not declared in this scope
         scanf("%lld",&k);
                       ^
0_0_22050045_21578.cpp:140:20: error: 's' was not declared in this scope
         scanf("%s",s);
                    ^
0_0_22050045_21578.cpp:141:9: error: 'n' was not declared in this scope
         n=strlen(s);
         ^
0_0_22050045_21578.cpp:142:16: error: expected ';' before 'i'
         for(ll i=0;i<n;i++)
                ^
0_0_22050045_21578.cpp:142:20: error: 'i' was not declared in this scope
         for(ll i=0;i<n;i++)
                    ^
0_0_22050045_21578.cpp:143:13: error: 'a' was not declared in this scope
             a[i]=s[i];
             ^
0_0_22050045_21578.cpp:144:9: error: 'a' was not declared in this scope
         a[n]=0;
         ^
0_0_22050045_21578.cpp:145:16: error: 'sa' was not declared in this scope
         dc3(a, sa, n+1,200);
                ^
0_0_22050045_21578.cpp:145:27: error: 'dc3' was not declared in this scope
         dc3(a, sa, n+1,200);
                           ^
0_0_22050045_21578.cpp:146:27: error: 'calheight' was not declared in this scope
         calheight(a, sa, n);
                           ^


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 02:34:31, Gzip enabled