37 ListElem(
double sval,
double tval,
unsigned int mval,
unsigned int nval,
double denval) :
50 return ((
m < elem.
m) && (
n <= elem.
n));
54 unsigned int mmax = 0;
55 unsigned int nmax = 0;
56 for(std::list<ListElem>::const_iterator
it = l.begin();
it != l.end() ; ++
it) {
57 if(
it->m > mmax) mmax =
it->m;
58 if(
it->n > nmax) nmax =
it->n;
61 for(std::list<ListElem>::const_iterator
it = l.begin();
it != l.end(); ++
it)
62 if((
it->m < mmax) && (
it->n < nmax)) {
63 os <<
it->s <<
" " <<
it->t <<
" " <<
it->m <<
" " <<
it->n <<
" " <<
it->den <<
endl;
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two distribute and or modify the software for each author s protection and we want to make certain that everyone understands that there is no warranty for this free software If the software is modified by someone else and passed we want its recipients to know that what they have is not the so that any problems introduced by others will not reflect on the original authors reputations any free program is threatened constantly by software patents We wish to avoid the danger that redistributors of a free program will individually obtain patent in effect making the program proprietary To prevent we have made it clear that any patent must be licensed for everyone s free use or not licensed at all The precise terms and conditions for distribution and modification follow GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR DISTRIBUTION AND MODIFICATION This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License The refers to any such program or and a work based on the Program means either the Program or any derivative work under copyright a work containing the Program or a portion of it
Inform & endl(Inform &inf)
bool operator<(const ListElem &elem) const
ListElem(double sval, double tval, unsigned int mval, unsigned int nval, double denval)
void print(Inform os, const std::list< ListElem > &l)