Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by BrowserUk (Pope)
on Dec 01, 2004 at 09:27 UTC ( #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
Node Status?
node history
Node Type: note [id://411417]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2021-01-26 17:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?