Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Find column number for the row-wise max value

by vagabonding electron (Hermit)
on Mar 02, 2012 at 09:16 UTC ( #957417=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    id003;30;80;10
    id004;30;90;90
    id005;50;50;10
    
  2. or download this
    Max value in the row id001 is 30 in the column(s) 3.
    Max value in the row id002 is 50 in the column(s) 3.
    Max value in the row id003 is 80 in the column(s) 2.
    Max value in the row id004 is 90 in the column(s) 2,3.
    Max value in the row id005 is 50 in the column(s) 1,2.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2014-09-20 04:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (153 votes), past polls