Page 2 of 2

Posted: Sun Oct 16, 2011 1:41 pm
by AMindForeverVoyaging
Hm, what kind of algorithm would take two input values and produce twelve as output? Off the bat, I can't seem to think of one.

Posted: Sun Oct 16, 2011 7:46 pm
by DaymItzJack
AMindForeverVoyaging wrote:Hm, what kind of algorithm would take two input values and produce twelve as output? Off the bat, I can't seem to think of one.
A custom one...? Or a custom twelve...? I doubt this is anything known, it is just a made up challenge.

Posted: Sun Oct 16, 2011 11:35 pm
by AMindForeverVoyaging
Yeah, that is what I think as well. I might be wrong but it does seem like the most probable option.

Posted: Tue Jan 15, 2013 3:06 am
by helly0d
If i get the error from the line 22 for the 2nd and 3rd parameter it means that i am on the right track and all i have to do is to find out what is the 12 numbers represent? Probably it's something like an rgbaxy from 3 sources?

Posted: Sun Jan 20, 2013 11:25 am
by laz0r
helly0d wrote:If i get the error from the line 22 for the 2nd and 3rd parameter it means that i am on the right track and all i have to do is to find out what is the 12 numbers represent? Probably it's something like an rgbaxy from 3 sources?
Errors are just errors - given that you're grabbing the web page so many times, it's not too surprising that there would be an error at some point. Refresh the page and it should clear the error.

Posted: Sun Jan 20, 2013 3:40 pm
by helly0d
I wasn't talking about those kind of errors. For certain values the page always returns errors in the "imagecolorat" function for the 2nd if the first input is a letter for e.g. and at the 3rd parameter if the 2nd input is a letter.

Posted: Mon Jan 21, 2013 12:18 am
by AMindForeverVoyaging
There are two parameters, not three. Why they are apparently named "parameter 2" and "parameter 3" in the error text, I have not the slightest idea. Might just be a misnomer. Or a hint. Who knows.

In any case, the text "expects parameter to be long" seems to indicate to me that, y'know, one might be supposed to enter numbers there. Not letters. :)

Posted: Mon Jan 21, 2013 1:15 am
by helly0d
There are two parameters, not three. Why they are apparently named "parameter 2" and "parameter 3" in the error text, I have not the slightest idea. Might just be a misnomer. Or a hint. Who knows.
There are actually 3 parameters $image, $x and $y. Probably this is a hint ( so please remove this post if it is ) but there should be something relevant here, who knows ? 2 parameters might be the coordinates for the colors of 4 pictures, but values such as 1000 in the 12 set is not a valid color over RGB system.