&);
"),"
Same, for multiple output files.
".html_text("
int try_fopen(char* path, FILE*& f, char* mode);
")."
Open a file, distinguishing between recoverable and nonrecoverable errors.
Returns zero on success.
Returns ERR_FOPEN if the directory is present but not the file
(this is considered a nonrecoverable error).
Returns ERR_OPENDIR if the directory is not there
(this is generally a recoverable error, like NFS mount failure).
".html_text("
double median_mean_credit(vector const& results);
")."
Given a vector of N correct results, computes a canonical credit as follows:
- if N==1, return that result's claimed credit
- if N==2, return min of claimed credits
- if N>2, toss out high and low claimed credit,
and return the average of the rest.
";
page_tail();
?>