| Title |
User |
Message |
Place |
Date Posted |
| nope |
bleung91 |
0 3 6 9 3 5 7 9 8 7 ... etc are all arithmetic sequences. |
wc99Sp4 |
Dec 29, 2008 - 5:17:46 pm UTC |
| Re: Re: Can i have a explanation without wierd add-ons plz |
frenzybenzy |
yeah i noticed it was wrogn when i submitted it. I just got that off the samples. |
wc02p4 |
Dec 29, 2008 - 5:12:51 pm UTC |
| i dont quite get the rules |
frenzybenzy |
so if the input was 9, would 0 3 6 9 2 4 8 1 5 7 work??? |
wc99Sp4 |
Dec 29, 2008 - 5:01:36 pm UTC |
| Re: Re: Mistake |
humanoidmanticore |
shouldn't the output be: 3.00 2.70 -0.63 5.12 Even though its the same as the input, its still in order from first to last entered, with the largest last. |
P118EX5 |
Dec 29, 2008 - 4:26:12 pm UTC |
| Re: In the third example.... |
bleung91 |
you pick the combination of ingredients that gives you the minimum difference. to fidn the total sourness, you multiply all ingredients and total bitterness, you add all ingredients. so if I have 10... |
coci082p3 |
Dec 29, 2008 - 4:57:25 am UTC |
| In the third example.... |
purohit3105 |
Why in the third example we only chose the last three? I don't get it. |
coci082p3 |
Dec 29, 2008 - 4:20:05 am UTC |
| Re: Can i have a explanation without wierd add-ons plz |
bleung91 |
not quite that simple. Edit: using your method, if i input: 2 3 9, i would get 29. however, that's wrong. (i'll leave you to figure it out). |
wc02p4 |
Dec 29, 2008 - 12:28:03 am UTC |
| Re: Re: Can i have a explanation without wierd add-ons plz |
frenzybenzy |
I dont know how that helped me understand the question ,but it did. THX. its basically a+b*c, right? |
wc02p4 |
Dec 28, 2008 - 11:20:18 pm UTC |
| Re: Can i have a explanation without wierd add-ons plz |
bleung91 |
it's part of the problem, part of the WC spirit. it is just an easy math problem, if you're having this much trouble, I assure you, coding it will be faster and easier than understanding. |
wc02p4 |
Dec 28, 2008 - 10:22:06 pm UTC |
| Can i have a explanation without wierd add-ons plz |
frenzybenzy |
the knight, cowbot, stones and all those other stuff are confusing me. |
wc02p4 |
Dec 28, 2008 - 10:11:54 pm UTC |