Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Google Code Jam 2019 Round 1A Problem 1: Pylons

by LanX (Saint)
on Apr 15, 2019 at 17:01 UTC ( [id://1232592]=note: print w/replies, xml ) Need Help??


in reply to Re: Google Code Jam 2019 Round 1A Problem 1: Pylons
in thread Google Code Jam 2019 Round 1A Problem 1: Pylons

> ( slight cheat: All IMPOSSIBLEs are hard coded (HINT: there are very few) :)

Lemme guess, the remains were proven to be POSSIBLES by brute-force searching (N.B. only inside the max-boundaries) and not by applying mathematical reasoning?

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

  • Comment on Re^2: Google Code Jam 2019 Round 1A Problem 1: Pylons

Replies are listed 'Best First'.
Re^3: Google Code Jam 2019 Round 1A Problem 1: Pylons
by tybalt89 (Monsignor) on Apr 15, 2019 at 17:43 UTC

    It is a "code jam" and not a "math jam" :)

      "JAM" it certainly is. ;)

      But my point is a bit different, I once participated at a golfing competition where the winner had impossibly short code.

      Turned out he just hardcoded the desired result into a print.

      Precomputing all results for a finite input set indeed looks like ... jam.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

        I guess I didn't understand ;(

        However, for this problem the code had to produce a complete valid path for each POSSIBLE solution, and those paths were not hard coded.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1232592]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-16 05:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found