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_22050078_6477.cpp:15:9: error: 'll' does not name a type
 typedef ll ll ll;
         ^
0_0_22050078_6477.cpp:16:7: error: 'll' does not name a type
 const ll MAXN = 500000+10;//更改
       ^
0_0_22050078_6477.cpp:17:7: error: 'll' does not name a type
 const ll N = MAXN;
       ^
0_0_22050078_6477.cpp:18:7: error: 'll' does not name a type
 const ll INF=1e9+7;
       ^
0_0_22050078_6477.cpp:19:1: error: 'll' does not name a type
 ll wa[MAXN],wb[MAXN],wv[MAXN],Ws[MAXN];
 ^
0_0_22050078_6477.cpp:20:1: error: 'll' does not name a type
 ll sa[MAXN],height[MAXN],RANK[MAXN];
 ^
0_0_22050078_6477.cpp:21:1: error: 'll' does not name a type
 ll len[MAXN];
 ^
0_0_22050078_6477.cpp:23:1: error: 'll' does not name a type
 ll c0(ll *r,ll a,ll b)
 ^
0_0_22050078_6477.cpp:28:1: error: 'll' does not name a type
 ll c12(ll k,ll *r,ll a,ll b)
 ^
0_0_22050078_6477.cpp:34:11: error: variable or field 'sort' declared void
 void sort(ll *r,ll *a,ll *b,ll n,ll m)
           ^
0_0_22050078_6477.cpp:34:11: error: 'll' was not declared in this scope
0_0_22050078_6477.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_22050078_6477.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_22050078_6477.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_22050078_6477.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_22050078_6477.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_22050078_6477.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_22050078_6477.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_22050078_6477.cpp:45:10: error: variable or field 'dc3' declared void
 void dc3(ll *r,ll *sa,ll n,ll m) //涵义与DA 相同
          ^
0_0_22050078_6477.cpp:45:10: error: 'll' was not declared in this scope
0_0_22050078_6477.cpp:45:14: error: 'r' was not declared in this scope
 void dc3(ll *r,ll *sa,ll n,ll m) //涵义与DA 相同
              ^
0_0_22050078_6477.cpp:45:16: error: 'll' was not declared in this scope
 void dc3(ll *r,ll *sa,ll n,ll m) //涵义与DA 相同
                ^
0_0_22050078_6477.cpp:45:20: error: 'sa' was not declared in this scope
 void dc3(ll *r,ll *sa,ll n,ll m) //涵义与DA 相同
                    ^
0_0_22050078_6477.cpp:45:23: error: 'll' was not declared in this scope
 void dc3(ll *r,ll *sa,ll n,ll m) //涵义与DA 相同
                       ^
0_0_22050078_6477.cpp:45:28: error: 'll' was not declared in this scope
 void dc3(ll *r,ll *sa,ll n,ll m) //涵义与DA 相同
                            ^
0_0_22050078_6477.cpp:69:16: error: variable or field 'calheight' declared void
 void calheight(ll *r,ll *sa,ll n)
                ^
0_0_22050078_6477.cpp:69:16: error: 'll' was not declared in this scope
0_0_22050078_6477.cpp:69:20: error: 'r' was not declared in this scope
 void calheight(ll *r,ll *sa,ll n)
                    ^
0_0_22050078_6477.cpp:69:22: error: 'll' was not declared in this scope
 void calheight(ll *r,ll *sa,ll n)
                      ^
0_0_22050078_6477.cpp:69:26: error: 'sa' was not declared in this scope
 void calheight(ll *r,ll *sa,ll n)
                          ^
0_0_22050078_6477.cpp:69:29: error: 'll' was not declared in this scope
 void calheight(ll *r,ll *sa,ll n)
                             ^
0_0_22050078_6477.cpp:83:1: error: 'll' does not name a type
 ll n,k;
 ^
0_0_22050078_6477.cpp:84:1: error: 'll' does not name a type
 ll a[MAXN];
 ^
0_0_22050078_6477.cpp:85:8: error: 'MAXN' was not declared in this scope
 char s[MAXN];
        ^
0_0_22050078_6477.cpp:86:1: error: 'll' does not name a type
 ll ans=0;
 ^
0_0_22050078_6477.cpp:87:1: error: 'll' does not name a type
 ll q[2][MAXN];
 ^
0_0_22050078_6477.cpp: In function 'void solve()':
0_0_22050078_6477.cpp:90:5: error: 'll' was not declared in this scope
     ll top=0;
     ^
0_0_22050078_6477.cpp:91:5: error: 'q' was not declared in this scope
     q[0][top]=q[1][top]=0;
     ^
0_0_22050078_6477.cpp:91:10: error: 'top' was not declared in this scope
     q[0][top]=q[1][top]=0;
          ^
0_0_22050078_6477.cpp:93:5: error: 'height' was not declared in this scope
     height[n+1]=0;
     ^
0_0_22050078_6477.cpp:93:12: error: 'n' was not declared in this scope
     height[n+1]=0;
            ^
0_0_22050078_6477.cpp:94:8: error: expected ';' before 'MAX'
     ll MAX=0;
        ^
0_0_22050078_6477.cpp:95:12: error: expected ';' before 'i'
     for(ll i=1;i<=n+1;i++){
            ^
0_0_22050078_6477.cpp:95:16: error: 'i' was not declared in this scope
     for(ll i=1;i<=n+1;i++){
                ^
0_0_22050078_6477.cpp:96:12: error: expected ';' before 'x'
         ll x=height[i];
            ^
0_0_22050078_6477.cpp:97:12: error: expected ';' before 'pre'
         ll pre=x;
            ^
0_0_22050078_6477.cpp:98:12: error: expected ';' before 'M'
         ll M=INF;
            ^
0_0_22050078_6477.cpp:100:12: error: 'k' was not declared in this scope
         if(k==1){
            ^
0_0_22050078_6477.cpp:104:17: error: 'MAX' was not declared in this scope
                 MAX=0;
                 ^
0_0_22050078_6477.cpp:106:13: error: 'ans' was not declared in this scope
             ans+=n-sa[i]-height[i];
             ^
0_0_22050078_6477.cpp:106:20: error: 'sa' was not declared in this scope
             ans+=n-sa[i]-height[i];
                    ^
0_0_22050078_6477.cpp:107:26: error: 'MAX' was not declared in this scope
             if(height[i]>MAX){
                          ^
0_0_22050078_6477.cpp:113:32: error: 'x' was not declared in this scope
         while(top>0&&q[0][top]>x){
                                ^
0_0_22050078_6477.cpp:114:29: error: 'k' was not declared in this scope
             if(i-q[1][top]==k){
                             ^
0_0_22050078_6477.cpp:115:17: error: 'ans' was not declared in this scope
                 ans+=q[0][top];
                 ^
0_0_22050078_6477.cpp:122:13: error: 'pre' was not declared in this scope
             pre=q[0][top];
             ^
0_0_22050078_6477.cpp:123:13: error: 'M' was not declared in this scope
             M=min(M,q[1][top]);
             ^
0_0_22050078_6477.cpp:126:12: error: 'x' was not declared in this scope
         if(x==0)
            ^
0_0_22050078_6477.cpp:128:30: error: 'x' was not declared in this scope
         if(top==0||q[0][top]<x){
                              ^
0_0_22050078_6477.cpp:130:35: error: 'M' was not declared in this scope
             q[1][top]=min(1LL*i-1,M);
                                   ^
0_0_22050078_6477.cpp: In function 'int main()':
0_0_22050078_6477.cpp:136:5: error: 'll' was not declared in this scope
     ll t;
     ^
0_0_22050078_6477.cpp:137:19: error: 't' was not declared in this scope
     scanf("%lld",&t);
                   ^
0_0_22050078_6477.cpp:139:9: error: 'ans' was not declared in this scope
         ans=0;
         ^
0_0_22050078_6477.cpp:140:23: error: 'k' was not declared in this scope
         scanf("%lld",&k);
                       ^
0_0_22050078_6477.cpp:141:20: error: 's' was not declared in this scope
         scanf("%s",s);
                    ^
0_0_22050078_6477.cpp:142:9: error: 'n' was not declared in this scope
         n=strlen(s);
         ^
0_0_22050078_6477.cpp:143:16: error: expected ';' before 'i'
         for(ll i=0;i<n;i++)
                ^
0_0_22050078_6477.cpp:143:20: error: 'i' was not declared in this scope
         for(ll i=0;i<n;i++)
                    ^
0_0_22050078_6477.cpp:144:13: error: 'a' was not declared in this scope
             a[i]=s[i];
             ^
0_0_22050078_6477.cpp:145:9: error: 'a' was not declared in this scope
         a[n]=0;
         ^
0_0_22050078_6477.cpp:146:16: error: 'sa' was not declared in this scope
         dc3(a, sa, n+1,150);
                ^
0_0_22050078_6477.cpp:146:27: error: 'dc3' was not declared in this scope
         dc3(a, sa, n+1,150);
                           ^
0_0_22050078_6477.cpp:147: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 03:09:03, Gzip enabled