কন্টেস্ট টিপস

কন্টেস্ট টিপস

একটা ইনটারনাল কন্টেস্ট করার পর বাসায় এসে আমি এগুলো লিখেছিলাম, আমার নিজের জন্যই। এটা হয়তো পুরোপুরি গুছিয়ে লেখা না, কিন্তু এই পয়েন্টগুলো খুব গুরুত্বপূর্ণ।

  • In a contest we actually try to find a way to make things work. If our first tries dont work, its lot better to switch the point of view as soon as possible, after you see this point of view is not helping. before quitting a idea, check again if you are missing something.

  • A common bug during the contest is, being unsure if the algo is correct. Try to check the IO in hand, if you are not sure. If you think an algo might work, but it's not sure that its the right solution, don't waste your time writing it, once you write a part of it, it will get harder to forget this idea, and to change the point of view. it gets really hard to see the written solution to fail to pass sample, and being unable to find a bug. Try to skip this part as much as possible during contest.

  • If there is a lot of way to solve a problem, choose the one that's easiest to write the code, before start to write, check if its feasible to write that solution, or if its better to move to another solution, or another problem.

  • Check if you correctly initilized, correctly bracketed. This two things can force you to debug a lot but stupid.

  • Sometime we write wrong logics in our codes, but this can be avoided being more careful and concentrating while writing.