#define TEAM 0 /* Your team # here */ #define PROBLEM NUMBER /* The problem # here */ #include #include #include #include #include FILE *in=0; FILE *out=0; void solve_problem(); /*-------------------------------------------------------*/ int main(int argc, char *argv[]) { char inputFilename[64]; char outputFilename[64]; int teamNumber = TEAM; int j; sprintf(inputFilename, "prob%d.dat", PROBLEM); sprintf(outputFilename,"prob%d.out", PROBLEM); /* Process the command line arguments. This can change the filenames and/or team number */ j=1; while (j '9') wheels[j] -= 10; } } fprintf(out, "%s\n",wheels); }