Notes
This function is in beta test. Please help improve it in the issues
here.
/in/dictionary.c:152:32: runtime error: member access within null pointer of type 'struct dictionary_node_t' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/dictionary.c:152:32 in /in/dictionary.c:138:32: runtime error: member access within null pointer of type 'struct dictionary_node_t' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/dictionary.c:138:32 in /in/dictionary.c:118:26: runtime error: member access within null pointer of type 'struct dictionary_node_t' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/dictionary.c:118:26 in /in/dictionary.c:125:26: runtime error: member access within null pointer of type 'struct dictionary_node_t' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/dictionary.c:125:26 in
Your Answer
0 ***Print Dictionary*** Original: {3:5, }. Reversed: {3:5, }. ****Print Finished**** 1 ***Print Dictionary*** Original: {}. Reversed: {}. ****Print Finished**** 2 ***Print Dictionary*** Original: {3:5, }. Reversed: {3:5, }. ****Print Finished**** 3 ***Print Dictionary*** Original: {3:5, }. Reversed: {3:5, }. ****Print Finished**** 4 ***Print Dictionary*** Original: {3:0, }. Reversed: {3:0, }. ****Print Finished**** 5 ***Print Dictionary*** Original: {3:0, 7:8, }. Reversed: {7:8, 3:0, }. ****Print Finished**** 6 ***Print Dictionary*** Original: {3:0, 4:6, 7:8, }. Reversed: {7:8, 4:6, 3:0, }. ****Print Finished**** 7 ***Print Dictionary*** Original: {4:6, 7:8, }. Reversed: {7:8, 4:6, }. ****Print Finished**** 8 ***Print Dictionary*** Original: {4:6, }. Reversed: {4:6, }. ****Print Finished**** 9 ***Print Dictionary*** Original: {}. Reversed: {}. ****Print Finished****
JOJ Answer
0 ***Print Dictionary*** Original: {3:5, }. Reversed: {3:5, }. ****Print Finished**** 1 ***Print Dictionary*** Original: {}. Reversed: {}. ****Print Finished**** 2 ***Print Dictionary*** Original: {3:5, }. Reversed: {3:5, }. ****Print Finished**** 3 ***Print Dictionary*** Original: {3:5, }. Reversed: {3:5, }. ****Print Finished**** 4 ***Print Dictionary*** Original: {3:0, }. Reversed: {3:0, }. ****Print Finished**** 5 ***Print Dictionary*** Original: {3:0, 7:8, }. Reversed: {7:8, 3:0, }. ****Print Finished**** 6 ***Print Dictionary*** Original: {3:0, 4:6, 7:8, }. Reversed: {7:8, 4:6, 3:0, }. ****Print Finished**** 7 ***Print Dictionary*** Original: {4:6, 7:8, }. Reversed: {7:8, 4:6, }. ****Print Finished**** 8 ***Print Dictionary*** Original: {4:6, }. Reversed: {4:6, }. ****Print Finished**** 9 ***Print Dictionary*** Original: {}. Reversed: {}. ****Print Finished****