Think

Beyond

Limits

CodeRally 6.0

©2025. All rights reserved.

Workshop 3

Conquering Test Cases in a 24-hr Hackathon

Workshop 3 focuses on the critical role of test cases and effective debugging strategies to ensure correct and efficient solutions under competition conditions.

09 August

Workshop 3

01.  Importance of Test Cases and Common Pitfalls

Participants will learn why even a logically correct solution can fail due to improper handling of test cases, formatting errors, or platform-specific quirks. Awareness of these issues is key to avoiding unexpected failures during contests.

02.  dentifying and Fixing Runtime and Memory Errors

This session covers common runtime errors such as division by zero, type mismatches, and memory overflow. Participants will understand how to anticipate and prevent crashes by writing robust code and managing memory efficiently.

03.  Debugging Techniques for Logic and I/O Errors

Participants will explore strategies to detect silent logic flaws and errors in input/output parsing, which often lead to incorrect results without explicit failures. Manual tracing, careful code review, and systematic testing are emphasized.

04.  Preparing for 24-Hour Hackathons

The workshop concludes with tips to develop a practical debugging checklist tailored for long-duration contests. Participants will learn how to optimize time spent on reading, testing, tracing, and submitting code efficiently during intense competition.