#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <math.h>
Functions | |
int | main (int argc, char **argv) |
Launcher for code. | |
Variables | |
static char | buf [1024] |
scratch input, long enough for a single line | |
static char * | expanded = "%.6f %.6f\n" |
prepared format of output. |
All input from stdin is of the form:
numberOfTrials trial-1 trial-2 ... trial-n
eval throws away LOW and HIGH as outliers and outputs on a single line:
average stdev
int main | ( | int | argc, | |
char ** | argv | |||
) |
Launcher for code.
All input comes from stdin.
char buf[1024] [static] |
scratch input, long enough for a single line
char* expanded = "%.6f %.6f\n" [static] |
prepared format of output.
Algorithm Development Kit 1.0