Skip to content

Commit 3d58e27

Browse files
Update program.c
1 parent 71d1f89 commit 3d58e27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • programs/2016/C/01-No_Time_for_a_Taxicab

programs/2016/C/01-No_Time_for_a_Taxicab/program.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ int main() {
166166
const int orderLength = loopCounter ;
167167

168168
// Direction:
169-
int directionMapping[256] = {O} ; // We set a table large enough that contains all ASCII usual letters.
169+
int directionMapping[256] = {0} ; // We set a table large enough that contains all ASCII usual letters.
170170
directionMapping['N'] = 1 ;
171171
directionMapping['E'] = 2 ;
172172
directionMapping['S'] = 3 ;

0 commit comments

Comments
 (0)