Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: [OT] simple algorithm for assigning students to class sections

by BrowserUk (Patriarch)
on Dec 01, 2004 at 09:27 UTC ( [id://411417]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! perl -slw
    use strict;
    ...
        for sort keys %sections;
    
    print "\nUnallocated; [@students]";
    
  2. or download this
    [16:10:52.01] P:\test>411129 -STUDENTS=50 -SECTIONS=15
    Sections: 15
    ...
    Section_14(0) => [ Student_19 Student_28 ]
    
    Unallocated; [Student_04 Student_07 Student_21 Student_35]
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-24 12:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found