You are not logged in. Please login at to post your questions!


Invitation to Coders' Legacy 2018 (Rated)

Hello CodeChef community,

On behalf of KeyGEnCoders, the programming club and CodeChef Campus Chapter of Kalyani Government Engineeing College, I would like to invite you all to Coders' Legacy 2018. The contest will be rated for both divisions.


The contest will start on Sunday 15 April at 21:30 IST and the duration will be of 3 hours. It will have an ACM style ranklist with the penalty set to 10 minutes. There will be 6 problems of varying difficulty.

The problem setting team includes @avijit_agarwal, @sarthakmanna, @mayukh45, and myself. I would also like to thank Arjun Arul from CodeChef for helping out with the problems.

Top 5 Indian and top 5 non-Indian winners will get 300 CodeChef laddus each.

Good luck to all and wish you high rating :)

UPDATE: The contest starts in 30 mins.

UPDATE 2: The contest has ended. Check out final standings and editorials. Hope everyone enjoyed the problems! The cakewalk problem turned out a little harder than we expected, we apologize for that :/ Thank you for your participation.

This question is marked "community wiki".

asked 13 Apr '18, 16:50

meooow's gravatar image

6★meooow ♦
accept rate: 48%

edited 16 Apr '18, 01:42

when Rating will be update for this contest


answered 18 Apr '18, 15:16

hemant_dhanuka's gravatar image

accept rate: 3%


As far I know, the ratings will be updated sequentially. First April Long, then Dementia and after that Coders' Legacy.

(18 Apr '18, 19:41) meooow ♦6★

@meooow Bro, its updated finally.. got my best rating on codechef till now.. Very Happy.. Coder's Legacy is lucky for me.... hurray

(18 Apr '18, 20:57) hemant_dhanuka5★

Congrats to you :D

(18 Apr '18, 22:10) meooow ♦6★

Congrats @hemant_dhanuka :)

(18 Apr '18, 22:25) vijju123 ♦♦4★

thanks @vijju123 @meooow its never posible without ur support... target :- #WorkMoreHarderToReach5Star

(19 Apr '18, 00:54) hemant_dhanuka5★

All the best @hemant_dhanuka for your target. My next target - #WorkMoreHarderToReach6Star.

(19 Apr '18, 01:05) aryanc4035★
showing 5 of 6 show all

the level of the contest is too hard :(


answered 16 Apr '18, 00:01

drjaat's gravatar image

accept rate: 6%


Maybe the triangle problem was a bit too hard; and the cakewalk problem turned out somewhat not 'cakewalk'. Other than these two, were the questions too hard?

(16 Apr '18, 00:43) sarthakmanna6★

For the Fibonacci problem sorting the frequencies and checking the condition didn't work for me. Did it work for others? If no, why?


answered 16 Apr '18, 00:55

karolis_kusas's gravatar image

accept rate: 0%

(16 Apr '18, 00:58) sarthakmanna6★

That is because in a permutation that satisfies the condition, $F_i > F_{i-1}$ for all $i \ge 3$. But $F_2 > F_1$ is a wrong assumption.

(16 Apr '18, 01:00) meooow ♦6★

Thanks for replying! Could you give me an example of frequencies where sorting them does not find a solution?

(16 Apr '18, 01:02) karolis_kusas7★

Sure, (1, 2, 3, 4) for example. The permutation that satisfies the relation is (2, 1, 3, 4).

(16 Apr '18, 01:05) meooow ♦6★

Wow :D I see, didn't think about this. Thanks!

(16 Apr '18, 01:07) karolis_kusas7★

A lot of people didn't think about this :P

(16 Apr '18, 01:15) meooow ♦6★

Including me!

(16 Apr '18, 01:27) taran_14075★
showing 5 of 7 show all

Thank You very much for bringing up the Editorials as soon as the contest ended.


answered 16 Apr '18, 01:15

abhiy13's gravatar image

accept rate: 0%

You're welcome :)

(16 Apr '18, 01:43) meooow ♦6★

One of the best contest i too part in!!


answered 16 Apr '18, 01:28

taran_1407's gravatar image

accept rate: 22%

I thought it was tough for me in the beginning but was little surprised when I looked on the number of submissions. I kept trying and managed to get one correct answer at the end. The clock question was very well set, easy to code but tricky logic. Thanks for publishing editorials so fast :)


answered 16 Apr '18, 02:11

elli0t's gravatar image

accept rate: 4%

Also why is the rating predictor tool showing

Error: No contest predictions found for such contest!

Is it because there is some mistake in link?


answered 16 Apr '18, 02:14

elli0t's gravatar image

accept rate: 4%

(16 Apr '18, 18:54) noxious_av4★

It deviates a lot from original ratings.

(16 Apr '18, 19:18) elli0t3★

I don't think it's working for any contest at the moment. I can see a "Application is not available" message.
You could contact @vsp4, I think he is the developer of the site.

(16 Apr '18, 23:12) meooow ♦6★

Hello, I did not get the laddus for this contest.


answered 25 Apr '18, 14:16

sanyamg123's gravatar image

accept rate: 14%

@sanyamg123 please check again. You should have received them today :)

(27 Apr '18, 22:21) meooow ♦6★

thanks @meooow got it

(28 Apr '18, 01:02) sanyamg1236★
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • 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:


question asked: 13 Apr '18, 16:50

question was seen: 3,102 times

last updated: 28 Apr '18, 01:02