// -*- mode: c++ -*- // $Id: nestedloop.g++,v 1.2 2001/06/20 03:20:02 doug Exp $ // http://www.bagley.org/~doug/shootout/ #include #include using namespace std; int main(int argc, char *argv[]) { int n = ((argc == 2) ? atoi(argv[1]) : 1); int a, b, c, d, e, f, x=0; for (a=0; a