#include #include using namespace std; int main(){ float req, pro; cin>>req>>pro; int rfpnum=0; while(req>0) { int i, j, k; float cost,curcost=1000000000, comp, curcomp=0, numcomp; string trash, curname, name; ++rfpnum; for(i=0; i<=req; i++) getline(cin, trash); for(j=0; j>cost>>numcomp; comp = numcomp/req; if(comp>curcomp || (comp==curcomp && cost1) cout<<"\n"; cout<<"RFP #"<>req>>pro; } return 0; }