Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

A question for everyone!

Правка en1, от HaydarFakhoury, 2023-02-04 01:51:35

How can I effectively think of potential test cases that might break my approach when solving competitive programming problems? I often find it challenging to identify test cases that could potentially challenge the correctness of my solution, even after finding an approach. As a result, I may think that my approach is correct, but there could actually be a test case that my solution does not handle correctly, which I failed to consider. How can I effectively find and consider these test cases?

Not sure If everyone has or had these struggles before but I've never seen anyone point it out. Could just be me, who knows.


  Rev. Язык Кто Когда Δ Комментарий
en1 Английский HaydarFakhoury 2023-02-04 01:51:35 651 Initial revision (published)