The debugging competition is a competition that challenges participant's coding skills by presenting them with code of varrying difficulty levels that they must quickly identify to earn points.
Logical errors: Give code snippets that have logical errors, such as incorrect conditional statements or loops. Ask the participants to identify and fix the errors to produce the expected output.
Runtime errors: Provide code snippets that compile successfully but produce runtime errors, such as segmentation faults or null pointer exceptions. Ask the participants to identify and fix the errors to produce the expected output.
Code optimization: Give code snippets that are inefficient or have redundant code, and ask the participants to optimize the code to make it run faster or use less memory.
Missing code: Give code snippets that are missing a few lines of code, and ask the participants to fill in the missing lines to produce the expected output.
Note: MIN = -2147483648, MAX = 2147483647
INT_MIN
, INT_MAX
Integer.MIN_VALUE
, Integer.MAX_VALUE
-sys.maxsize - 1
, sys.maxsize
example string:
example number:
example array:
Copyright © 2023 FEU Tech ACM. All rights reserved
Read more: Mechanics and Guidelines
Wildcard: 50 points
Each challenge has a pre-determined score.