Oh, I missed this detail. In that case for a deterministic result I think you need to look at every possible combination. However, you can order them by the minimum criterion first, and start searching from the smallest to largest, so then the first group than meets the interval criteria is guaranteed optimal.
Since the count of items is known a priori (=sizeof(S)), doesn't that mean that the mean and the sum are related in a well defined way? Basically then both critera can be simplified to a single criterion on either sum or mean.
Well, I came in here to say exactly that: the paper is based on a survey of people self-reporting their past history with sleeping. Not a very good way to control the results.
Unless you are saving lives (a doctor) or protecting the country (in defense), or maybe a few other edge cases, the perception that you need to get back to a person in a few hours is probably more on your end than on the recipient's.
Amazon and Newegg both email me after I make a purchase requesting that I review the product. They do this a little after the product is delivered--to give me a chance to use it.
I almost always respond to these requests, because I find the reviews helpful in my buying process and that motivates me to contribute back.
This is actually not a bad idea. I've graduated now, but I would always start taking notes on each reference at the end of my paper. So it's definitely fulfilling a need.
But I wish there was a lower threshold of participation--couldn't I sign up for an anonymous account, and then attach my name to it once I decide that it's useful for me?
Also, Inkscape and GIMP are free, and just as powerful as the Adobe suite, especially for making more basic stuff like icons or logos. Perhaps if you are into photo manipulation or use Fireworks for web design there is some benefit to getting the Adobe stuff.
It's a nice trick, but I will probably stick to Ctrl-K-C (block comment) and Ctrl-K-U (block uncomment) in Visual Studio, just out of habit. I hate leaving big block comments in the middle of a module anyways: hurts readability.
This is in no way better than regular pagination. Or, if you want to eliminate a full page reload, just do the pagination in AJAX (but still allow me to link to a specific page).
Pagination does not break the back button or the scrollbar like progressive loading.