Talk:Sailors, coconuts and a monkey problem: Difference between revisions

Content added Content deleted
 
Line 4: Line 4:
But then you would have to do that in many solutions such as choosing an integer type in C or a range to search over in constraint solvers so just ignore me.<br>
But then you would have to do that in many solutions such as choosing an integer type in C or a range to search over in constraint solvers so just ignore me.<br>
--[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 08:35, 3 May 2015 (UTC)
--[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 08:35, 3 May 2015 (UTC)

I do have to put in a ceiling - that gives me bound search time and protects me from "infinite loop" bugs while I'm playing with the code. But if a given value doesn't give me good results, it's trivial for me to multiply it by 10 and try again. I guess what I'm saying is that for this problem, this approach saved time for me. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 11:55, 3 May 2015 (UTC)