I had that too.
20
200 10
...
55
its only 19 jobs.
#include <iostream>
#include <algorithm>
using namespace std;
struct robota
{
int ktora;//number_of_work
double srednio;//pay/day.
};
bool operator<(const robota& a, const robota& b) {
return a.srednio < b.srednio;
}
int main()
{
int nr ...
Search found 2 matches
- Mon Apr 04, 2011 3:31 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10026 - Shoemaker's Problem
- Replies: 82
- Views: 46974
- Mon Apr 04, 2011 1:51 am
- Forum: Volume 100 (10000-10099)
- Topic: 10037 - Bridge
- Replies: 84
- Views: 37589
Re: 10037 - Bridge
Any tip? I use http://uvatoolkit.com/problemssolve.php to generate solution, and my own generated large case of test. Compare = Files Match. Should I focus on out format, is so much important?