Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^3: Subroutine overhead in Perl

by strat (Canon)
on Nov 07, 2007 at 07:26 UTC ( #649420=note: print w/replies, xml ) Need Help??

in reply to Re^2: Subroutine overhead in Perl
in thread Subroutine overhead in Perl

A very special testcase is the following sudoku:

9-6-7-4-3 ---4--2-- -7--23-1- 5-----1-- -4-2-8-6- --3-----5 -3-7---5- --7--5--- 4-5-1-7-8
which has two solutions:
926571483 351486279 874923516 582367194 149258367 763194825 238749651 617835942 495612738
926571483 351486279 874923516 582367194 149258367 763149825 238794651 617835942 495612738

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8."

Replies are listed 'Best First'.
Re^4: Subroutine overhead in Perl
by polettix (Vicar) on Nov 08, 2007 at 14:34 UTC
    AFAIK, a "good" SuDoKu puzzle should have a unique solution.

    perl -ple'$_=reverse' <<<ti.xittelop@oivalf

    Io ho capito... ma tu che hai detto?

      That's true; but if you are beware of such strange user input, it's easier to write tests and make sure that such strange user input is also handled correctly...

      Best regards,
      perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8."

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://649420]
[james28909]: you guys/gals are awesome. thanks for the wisdom.
[Discipulus]: shmem the first time I was in germany I was so smart to learn by heart the address of the hostel: Einbahnstraße..
[Discipulus]: james28909 you are welcome
james28909 doesnt drink much alcohol

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2018-05-20 16:12 GMT
Find Nodes?
    Voting Booth?