0_0_20997332_861.cpp: In function 'int main()':
0_0_20997332_861.cpp:13:5: error: 'cin' was not declared in this scope
cin>>t;
^
0_0_20997332_861.cpp:15:27: error: 'scanf' was not declared in this scope
scanf("%d%d",&n,&l);
^
0_0_20997332_861.cpp:18:18: error: 'INF' was not declared in this scope
memset(b,INF,sizeof(b));
^
0_0_20997332_861.cpp:18:31: error: 'memset' was not declared in this scope
memset(b,INF,sizeof(b));
^
0_0_20997332_861.cpp:25:49: error: 'lower_bound' was not declared in this scope
int temp=lower_bound(b+1,b+n+1,-a[i])-b;
^
0_0_20997332_861.cpp:32:49: error: 'lower_bound' was not declared in this scope
c[lower_bound(c+1,c+n+1,a[i-l-1])-c]=a[i-l-1];
^
0_0_20997332_861.cpp:34:45: error: 'lower_bound' was not declared in this scope
cc[i]=lower_bound(c+1,c+n+1,a[i])-c;
^
0_0_20997332_861.cpp:36:42: error: 'max' was not declared in this scope
ans=max(ans,cc[i]+bb[i]-1);
^
0_0_20997332_861.cpp:41:61: error: 'lower_bound' was not declared in this scope
ans=max(ans,(int)(lower_bound(c+1,c+n+1,a[n-l-1])-c));
^
0_0_20997332_861.cpp:41:65: error: 'max' was not declared in this scope
ans=max(ans,(int)(lower_bound(c+1,c+n+1,a[n-l-1])-c));
^
0_0_20997332_861.cpp:42:39: error: 'printf' was not declared in this scope
printf("Case #%d: %d\n",ii,ans);
^
|