<p>
This page contains the assignment leaderboard. The
leaderboard is updated as follows. Every five minutes, on the
five-minute mark, every assignment not yet past its due date is
downloaded according the base URL and assignment number you turned
in with <a href="assignment0.html">Assignment 0</a>. The output
is rescored if it changed.
</p>
<script type="text/javascript">
var assNo = 4;
var old_scoreranks = new Array();
for (i = 0; i < olddata.length; i++) {
var prevscore = (i == 0) ? -1 : olddata[i-1][1+assNo];
var score = olddata[i][1+assNo];
if (score != prevscore)
old_scoreranks[score] = i;
}
var scoreranks = new Array();
for (i=0; i');
var prevscore = (i == 0) ? -1 : data[i-1][1+assNo];
var score = data[i][1+assNo];
if (score != prevscore) {
scoreranks[score] = i;
document.write('');
} else {
document.write('');
}
var rank = scoreranks[score];
var oldrank = (score in old_scoreranks) ? old_scoreranks[score] : 100000;
if (rank > oldrank)
document.write('');
else if (rank < oldrank)
document.write('');
else
document.write('');
document.write('');
for (j = 1; j < data[i].length; j++) {
document.write('');
}
document.write('');
}
$("#baseline").css({'background-color': 'PaleGoldenRod'});
$("#default").css({'background-color': 'LightCoral'});
$("#project_name").css({'background-color': 'LimeGreen'});
</script>
' + (i+1) + ' | | | | | ' + data[i][0] + ' | ' + data[i][j] + ' |