#include #include #include #include "common.h" #include "logs.h" long pick(); int atoi(); int scanf(); double log(); double log1p(); double exp(); char *PROGNAME; main(argc, argv) int argc; char *argv[]; { register int i; register int c; int *f; int n; char lbuf[LLEN]; register char *lp; double lnp, ls; STARTUP; f = (int *) ealloc(argc * sizeof(int)); for(i=0; i