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_22821501_21087.cpp:5:1: error: expected initializer before 'll'
 ll n,k,m;
 ^
0_0_22821501_21087.cpp: In function 'bool check(int)':
0_0_22821501_21087.cpp:10:20: error: 'n' was not declared in this scope
     for(int i=1;i<=n;i++){
                    ^
0_0_22821501_21087.cpp:11:9: error: 's' was not declared in this scope
         s[i]=s[i-1]+(num[i]>=x);
         ^
0_0_22821501_21087.cpp:13:20: error: 'n' was not declared in this scope
     for(int i=1;i<=n;i++){
                    ^
0_0_22821501_21087.cpp:14:15: error: 's' was not declared in this scope
         while(s[right]-s[i-1]<k&&right<n) right++;
               ^
0_0_22821501_21087.cpp:14:31: error: 'k' was not declared in this scope
         while(s[right]-s[i-1]<k&&right<n) right++;
                               ^
0_0_22821501_21087.cpp:15:12: error: 's' was not declared in this scope
         if(s[right]-s[i-1]<k) break;
            ^
0_0_22821501_21087.cpp:15:28: error: 'k' was not declared in this scope
         if(s[right]-s[i-1]<k) break;
                            ^
0_0_22821501_21087.cpp:17:17: error: 'm' was not declared in this scope
         if(ans>=m) return true;
                 ^
0_0_22821501_21087.cpp:19:17: error: 'm' was not declared in this scope
     return ans>=m;
                 ^
0_0_22821501_21087.cpp: In function 'int main()':
0_0_22821501_21087.cpp:31:31: error: 'n' was not declared in this scope
         scanf("%lld%lld%lld",&n,&k,&m);
                               ^
0_0_22821501_21087.cpp:31:34: error: 'k' was not declared in this scope
         scanf("%lld%lld%lld",&n,&k,&m);
                                  ^
0_0_22821501_21087.cpp:31:37: error: 'm' was not declared in this scope
         scanf("%lld%lld%lld",&n,&k,&m);
                                     ^


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 00:34:47, Gzip enabled