What to do when one gets wrong answer for a hard problem for a long period of time?

Правка en1, от SA01Fan, 2021-03-28 18:21:18

Guys, recently when I was trying to solve some problems that were slightly difficult for me , I was getting wrong answers on test (20 and above) and those test cases are so large that codeforces system does not reveal them completely. Even though the editorial was also similar to my idea. In this case what should I do to understand my mistake? Please suggest some efficient way to debug. How to generate small test cases that are able to break my code?

Теги debugging

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский SA01Fan 2021-03-28 18:21:18 537 Initial revision (published)