Most problems are designed to be solved without using threads.
If you know how to `correctly` solve the problem, you won't need threads at all.

I do admit that sometimes you can solve a problem using some approach with 
threads that would normally timeout without it.

在 2017年3月9日星期四 UTC-8上午6:23:00,Mutley写道:
> Thanks Luke.
> 
> Just wondering because in Facebook's Hacker Cup, threads would be extremely 
> helpful given the complexity of the test cases and the limited time interval 
> to run them in.
> 
> On Monday, March 6, 2017 at 7:00:14 PM UTC+5:30, Luke Pebody wrote:
> > Yes. You are running on your own machine and can use any shortcuts or 
> > helpers you like as long as they are freely available. It will often be 
> > less helpful than you would hope. Many questions have only 1 or 2 extremely 
> > difficult test cases and the other threads will be twiddling their thumbs. 
> > 
> > 
> > On 6 Mar 2017 1:25 p.m., "Mutley" <[email protected]> wrote:
> > Hi,
> > 
> > Basic question - I noticed the Distributed Code Jam FAQs state that 
> > competitors are not allowed to spawn new threads.
> > 
> > 
> > 
> > Just wanted to know - are threads allowed in the submissions for the 
> > Regular Code Jam problems? I was thinking that one way to finish processing 
> > would be to run 4 threads to handle 25 test cases each.
> > 
> > 
> > 
> > Thanks.
> > 
> > 
> > 
> > --
> > 
> > You received this message because you are subscribed to the Google Groups 
> > "Google Code Jam" group.
> > 
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to [email protected].
> > 
> > To post to this group, send email to [email protected].
> > 
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/google-code/51a8adf6-88c1-4dbb-8599-f26ff5a37563%40googlegroups.com.
> > 
> > For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/ec63f764-4470-4111-b477-4ef379d78fa1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to