Search found 1 match

by ally01202
Fri Feb 25, 2005 3:10 pm
Forum: Volume 101 (10100-10199)
Topic: 10141 - Request for Proposal
Replies: 44
Views: 15718

10141

/*10141*/ #include<stdlib.h> #include<stdio.h> int main(void) { int flag=0,n,p,i,j,item,price,pmin=10000000,imax=0,ans; char store[1002][82],stuff[82],data[82],c; while(scanf("%d %d",&n,&p)!=EOF) { pmin=10000000;imax=0; flag++; if(n==0 && p==0) break; scanf("%c",&c); for(i=0;i<n;) { scanf("%c",&c);...

Go to advanced search