R. Clayton (rclayton@monmouth.edu)
Fri, 14 Jul 2000 11:05:39 -0400 (EDT)
I'm going to institute page limits starting with the set-multiset assignment;
these page limits do not apply to the list assignment.
Starting with the set-multiset assignment, and for all assignment there after,
your code must occupy no more than 20 pages. If you hand in an assignment
longer than 20 pages, you're going to lose 5 points for each extra page.
For your convenience, I've included a page count in the output that comes back
to you when you submit code. For those of you that are interested, I've
included the page-counting function (a unix shell script) below.
This page limit does not apply to the list assignment, but it does apply to all
assignments following the list assignment.
function count_pages {
for i in $(ls *.[cCh]* 2>/dev/null) ; do wc -l $i ; done |
awk '{ lines += $1 }
END {
p = lines/66
if (p < int(p)) p++
print int(p) " pages"
}
'
}
This archive was generated by hypermail 2.0b3 on Fri Aug 11 2000 - 15:25:05 EDT