User Tools

Site Tools


haas:fall2020:discrete:projects:pnc2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
haas:fall2020:discrete:projects:pnc2 [2020/10/22 09:36] – [Program Specifications] wedgehaas:fall2020:discrete:projects:pnc2 [2020/11/02 10:41] (current) – [Evaluation Criteria] wedge
Line 564: Line 564:
  
 ====Displaying the runtime==== ====Displaying the runtime====
-Once we have the starting and ending times, we can display this to the **timing** file pointer. You'll want this line:+Once we have the starting and ending times, we can display this to the **stderr** file pointer. You'll want this line:
  
 <code c> <code c>
-fprintf(timing, "%8.4lf\n",+fprintf(stderr, "%8.4lf\n",
 time_end.tv_sec-time_start.tv_sec+((time_end.tv_usec-time_start.tv_usec)/1000000.0)); time_end.tv_sec-time_start.tv_sec+((time_end.tv_usec-time_start.tv_usec)/1000000.0));
 </code> </code>
Line 748: Line 748:
  
 <code> <code>
-78:pnc2:final tally of results (78/0)+78:pnc2:final tally of results (78/78)
 </code> </code>
  
Line 754: Line 754:
  
 <code> <code>
-*:pnc2:primeALGO.c compiles cleanly, no compiler messages [1/0+*:pnc2:primeALGO.c compiles cleanly, no compiler messages [1/1
-*:pnc2:primeALGO.c implements only specified algorithm [2/0+*:pnc2:primeALGO.c implements only specified algorithm [2/2
-*:pnc2:primeALGO.c consistent indentation throughout code [1/0+*:pnc2:primeALGO.c consistent indentation throughout code [1/1
-*:pnc2:primeALGO.c relevant comments throughout code [1/0+*:pnc2:primeALGO.c relevant comments throughout code [1/1
-*:pnc2:primeALGO.c code conforms to project specifications [2/0+*:pnc2:primeALGO.c code conforms to project specifications [2/2
-*:pnc2:primeALGO.c runtime output conforms to specifications [1/0+*:pnc2:primeALGO.c runtime output conforms to specifications [2/2
-*:pnc2:primeALGO.c make checkqty test times within reason [1/0+*:pnc2:primeALGO.c make checkqty test times within reason [2/2
-*:pnc2:primeALGO.c make checkrange test times within reason [1/0] +*:pnc2:primeALGO.c make checkrange test times within reason [2/2]
-*:pnc2:primeALGO.c make verifyall tests succeed [3/0]+
 </code> </code>
  
haas/fall2020/discrete/projects/pnc2.1603373795.txt.gz · Last modified: 2020/10/22 09:36 by wedge