Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by tybalt89 (Monsignor)
on Apr 15, 2019 at 17:43 UTC ( [id://1232595]=note: print w/replies, xml ) Need Help??


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

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

Replies are listed 'Best First'.
Re^4: Google Code Jam 2019 Round 1A Problem 1: Pylons
by LanX (Saint) on Apr 15, 2019 at 19:24 UTC
    "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.

        The input set could be infinite, only the test cases are limited.

        Testing all 20 x 20 grids doesn't mean you know "ALL IMPOSSIBLE" input.

        This would imply a proof, hence my question.

        Clearer now? :)

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-29 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found