Search found 1 match

by setoj
Mon Mar 31, 2003 10:36 am
Forum: Volume 4 (400-499)
Topic: 497 - Strategic Defense Initiative
Replies: 144
Views: 44427

please help me........ why wrong! p:497

#include<stdio.h>
#define max 10000
long m,pop[max],b[max],k;

long length(){
long i,j,h;
b[0]=pop[m-1];
h=1;
for(i=m-1-1;i>=0;i--){
if(pop <b[0]){
b[0]=pop ;
continue;
}
for(j=h-1;j>=0;j--){
if(pop >b[j]){
if(j==h-1||pop <b[j+1]){
b[++j]=pop ;
if(j==h) h++;
break ...

Go to advanced search