Skip to content

Commit e2e6e74

Browse files
authored
Update io.h
1 parent a754293 commit e2e6e74

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

io.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ void printInstructions(void) {
3333

3434
/**
3535
* DESCRIPTION:
36-
* This function fills `state` with non-repeating numbers n where
37-
* 1 <= n < 9
36+
* This function fills `state` with non-repeating numbers from 0 to 9
3837
**/
3938
void inputState(State * const state) {
4039
state->action = NOT_APPLICABLE;
@@ -126,6 +125,6 @@ void printSolution(struct SolutionPath *path) {
126125
" - Nodes expanded : %i\n"
127126
" - Nodes generated : %i\n"
128127
" - Runtime : %g milliseconds\n"
129-
" - Memory used : %i bytes\n", //only counting allocaed `Node`s
128+
" - Memory used : %i bytes\n", //only counting allocated `Node`s
130129
solutionLength, nodesExpanded, nodesGenerated, runtime, nodesGenerated * sizeof(Node));
131-
}
130+
}

0 commit comments

Comments
 (0)