×

# Best Editorials for the problems of Codechef and Codeforces!(beginners and intermediates)

 1 I and my TEAM have taken an initiative to write editorials which are pretty easy to understand even for beginners.I write them in the easiest manner possible and explain the solution from scratch so that even a beginner can understand thoroughly! I even provide extra links at the end of my editorial(s)/solution(s) to learn the concept(S) involved. And I even try to explain things clearly in detail with images! Feedback will be welcomed!:) :D I write editorials in my Quora Blog:- asked 30 Nov '18, 16:32 74●7 accept rate: 0% I see no links. (30 Nov '18, 16:36) they are now there! (30 Nov '18, 16:41) To check whether "‘x’ and ‘y’ are 2 terms of an Arithmetic Progression" you need only check if $(x-y)$ is divisible by $d$. (30 Nov '18, 23:40) meooow ♦6★ THATs just the same thing :D, but further in the problem,there is a need to use that formula, especially when we have to calculate, how many turn(s) will it take to reach the end/starting page.And, I guess formula gives the 'real' feel. Though, thanks for pointing out :) Btw,your suggestion is great, it helps us in avoiding the use of 'double' :) (01 Dec '18, 09:22) Double should be avoided as much as you can, else you'll pay a big deal at least in Codeforces contests. Also, you dont even need to calculate turns. Just output yes. The editorial should, in my opinion, further discuss why answer is always yes and what this all means in a relative perspective. But its still a good attempt. (01 Dec '18, 13:44) Thanks for the feedback! :) But, I did not get you. You said-->'answer is always one'. The answer is not always one!! It can be any positive integer!!! AND WE HAVE TO OUTPUT '-1' if answer does not exist. Thanks again, we will improve :) (01 Dec '18, 18:34) @vijju123 is talking about Chef and Difficult Contests's editorial , I think (01 Dec '18, 18:54) admin55★ Yeah, I thought he is calculating turns needed in "Chef and Difficult Contest". (01 Dec '18, 20:50) And even then, the 'double' thing was relevant at both the places :D :) (01 Dec '18, 21:02) showing 5 of 9 show all
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported
• mathemetical formulas in Latex between \$ symbol

Question tags:

×15,482
×2,321
×655

question asked: 30 Nov '18, 16:32

question was seen: 409 times

last updated: 01 Dec '18, 21:02