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_27483891_5763.cpp:3:1: error: 'll' does not name a type
 ll a[100005];
 ^
0_0_27483891_5763.cpp:4:1: error: 'll' does not name a type
 ll n,k,m;
 ^
0_0_27483891_5763.cpp:5:1: error: 'll' does not name a type
 ll check(ll x)
 ^
0_0_27483891_5763.cpp: In function 'int main()':
0_0_27483891_5763.cpp:29:2: error: 'll' was not declared in this scope
  ll t;scanf("%lld",&t);
  ^
0_0_27483891_5763.cpp:29:21: error: 't' was not declared in this scope
  ll t;scanf("%lld",&t);
                     ^
0_0_27483891_5763.cpp:32:25: error: 'n' was not declared in this scope
   scanf("%lld%lld%lld",&n,&k,&m);
                         ^
0_0_27483891_5763.cpp:32:28: error: 'k' was not declared in this scope
   scanf("%lld%lld%lld",&n,&k,&m);
                            ^
0_0_27483891_5763.cpp:32:31: error: 'm' was not declared in this scope
   scanf("%lld%lld%lld",&n,&k,&m);
                               ^
0_0_27483891_5763.cpp:33:10: error: expected ';' before 'i'
   for(ll i=1;i<=n;i++) scanf("%d",&a[i]);
          ^
0_0_27483891_5763.cpp:33:14: error: 'i' was not declared in this scope
   for(ll i=1;i<=n;i++) scanf("%d",&a[i]);
              ^
0_0_27483891_5763.cpp:33:36: error: 'a' was not declared in this scope
   for(ll i=1;i<=n;i++) scanf("%d",&a[i]);
                                    ^
0_0_27483891_5763.cpp:35:6: error: expected ';' before 'l'
   ll l=0,r=1e9+7;
      ^
0_0_27483891_5763.cpp:36:9: error: 'l' was not declared in this scope
   while(l<=r)
         ^
0_0_27483891_5763.cpp:36:12: error: 'r' was not declared in this scope
   while(l<=r)
            ^
0_0_27483891_5763.cpp:38:7: error: expected ';' before 'mid'
    ll mid=(l+r)/2;
       ^
0_0_27483891_5763.cpp:39:13: error: 'mid' was not declared in this scope
    if(check(mid))  //如果mid第k大的区间个数大于m个,说明mid比实际答案大。 
             ^
0_0_27483891_5763.cpp:39:16: error: 'check' was not declared in this scope
    if(check(mid))  //如果mid第k大的区间个数大于m个,说明mid比实际答案大。 
                ^
0_0_27483891_5763.cpp:48:19: error: 'r' was not declared in this scope
   printf("%lld\n",r);
                   ^


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-12-02 13:15:10, Gzip enabled