#include "CPQueue.h" CPQueue pq; for(i=1 ; i L ){ u[j] = L; pq.Put( j, L ); } } if( pq.IsEmpty() ) break; s = pq.Get(); }