Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by BrowserUk (Patriarch)
on Dec 05, 2004 at 07:53 UTC ( #412469=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    [ 7:13:08.03] P:\test>411129.pl -STUDENTS=5 -SECTIONS=3 -R=473
    Use of uninitialized value in sprintf at P:\test\411129.pl line 121.
    ...
    Section_000(0) => [ Student_004 Student_001 ]
    Section_001(0) => [ Student_000 Student_003 ]
    Section_002(0) => [ Student_002 ]
    
  2. or download this
    [ 7:27:22.42] P:\test>411129.pl -STUDENTS=5 -SECTIONS=3 -R=847
    !847!
    ...
    Section_000(1) => [ Student_000 Student_004 ]
    Section_001(0) => [ Student_001 ]
    Section_002(0) => [ Student_003 ]
    
  3. or download this
    [ 7:29:09.00] P:\test>411129.pl -STUDENTS=750 -SECTIONS=20 -R=157
    Use of uninitialized value in sprintf at P:\test\411129.pl line 121.
    ...
    Section_019(0) => [ Student_009 Student_034 Student_107 ...
    
    [ 7:30:51.95] P:\test>
    
  4. or download this
    #! perl -slw
    use strict;
    ...
        : "[EMPTY]"
        for sort keys %sections;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2023-01-30 05:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?