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_15011008_21949.cpp: In function 'int main()':
0_0_15011008_21949.cpp:20:25: error: 'scanf' was not declared in this scope
     int T; scanf("%d",&T);
                         ^
0_0_15011008_21949.cpp:33:25: error: 'fill' was not declared in this scope
         fill(g,g+N-L,INF);
                         ^
0_0_15011008_21949.cpp:36:44: error: 'lower_bound' was not declared in this scope
             k = lower_bound(g,g+N-i-1,-a[i])-g;
                                            ^
0_0_15011008_21949.cpp:45:39: error: 'lower_bound' was not declared in this scope
          kk = lower_bound(g,g+i-L,a[i])-g;
                                       ^
0_0_15011008_21949.cpp:46:25: error: 'max' was not declared in this scope
    s=max(s,(kk-1)+1+f[i]);
                         ^
0_0_15011008_21949.cpp:50:36: error: 'printf' was not declared in this scope
        printf("Case #%d: %d\n",ks,s);
                                    ^


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-25 16:36:22, Gzip enabled