Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: problem while solving basic dynamic programming question

by haukex (Chancellor)
on Mar 15, 2020 at 13:51 UTC ( #11114291=note: print w/replies, xml ) Need Help??


in reply to Re: problem while solving basic dynamic programming question
in thread problem while solving basic dynamic programming question

your program reads two numbers from <>. The intention is not clear to me.

It's pretty common on sites like HackerRank etc. to have the solutions first read in the number of test cases, and then read in each test case.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2020-05-31 17:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (175 votes). Check out past polls.

    Notices?