/* Subject: Contest submission for problem #1, file 1.c */ /* cs169-ta@imail.EECS.Berkeley.EDU */ /* Fri Sep 19 01:42:52 PDT 2003 */ /*___CONTEST_SUBMISSION___ cs169-ta 1 */ /* John Han 9/12/03 Est Time: 3 hours Actual Time: ~3:30 hours */ //#include //#include #include "contest.h" struct statement{ char defvars[50]; int defvarsiter; //all of the line referencing this line int gotolines[50]; int gotoiter; }; struct statement newStat(char defvars[], int defvarsiter, int gotolines[], int gotolinesiter){ int i=0; struct statement temp; for(i=0; i