Today's contest i gave, I got WA on every question, in last after 2 hours of trying hard i got problem A solved. I will still lose rating points. Why is it like this ? MY leetcode rating is 1400 but codeforces is not even 1000. How should i practice and how do i get better a...
"My code doesn't work on this test." Use some debugging tools (google them for your OS/IDE) or just print values of everything you compute. I use gdb and valgrind. Simulate the program on paper too. This way you should find an exact place where something incorrect happens, or you wi...
Contestants attempt to solve the puzzles by writing programs in their language of choice. Some platforms, such as Codeforces, provide programmers the opportunity to design test cases that cause fellow competitors’ source code to fail, with points earned for successful hacks. Point System Contest...
Coding is all about using the tools available to you to solve problems (then solving the problems that resulted from your solution to the previous problems, of course). That also happens to be the basic idea behind most video games, so the two combine naturally. These coding games cover ple...
LeetCode: Two Sum (Solution in Python & Explanation) In this article, I will be explaining how to solve the Two Sum problem on LeetCode. This is an Easy-level question for Arrays. The Problem Given an array of integersnumsand an integertarget, returnindices of the two numbers such that...
A section. I solved 60-70 problems at this level before moving on to the next rating. I continued solving problems and participating in contests on Codeforces and CodeChef. Although I was only able to solve 1-2 problems in virtual and real contests, I kept practicing daily for 6-7 hours...
Codeforces Problemset: Just put in the rating you want to get comfortable in and keep on making it green until you can comfortably solve at least 8/10 problems without any help. (probably the one which will work for everyone)