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

×

Invitation for January Cook Off, 2018

After the recently concluded January Long Challenge, I would like to invite you for some more interesting challenges to keep your coding schedule always packed! Participate in the January Cook-Off 2018 and enjoy Chef’s tricky tests.

Joining me on the panel are:

  • Problem Setter and Editorialist: Sidhant Bansal, Arjun Arul
  • Problem Tester and Admin: Hasan Jaddouh, Misha Chorniy
  • Russian Translator: Sergey Kulik
  • Mandarin Translator: Hu Zecong
  • Vietnamese Translator: VNOI Team

I hope you will enjoy solving them. Please give your feedback on the problem set in the comments below, after the contest.

Contest Details:

Time: 21st January 2018 (2130 hrs - 0000 hrs Indian Standard Time — +5:30 GMT) — Check your timezone.
Contest link: https://www.codechef.com/COOK90
Registration: You just need to have a CodeChef handle to participate. For all those, who are interested and do not have a CodeChef handle, are requested to register in order to participate.
Prizes: Top 10 performers in Global and Indian category will get CodeChef laddus, with which the winners can claim cool CodeChef goodies. Know more here: https://www.codechef.com/laddu. (For those who have not yet got their previous winning, please send an email to winners@codechef.com)

According to me, the problems are very interesting and I am sure that you will have fun while solving these problems :)

Good Luck! Hope to see you participating!!

asked 21 Jan '18, 16:23

admin's gravatar image

0★admin ♦♦
19.8k350498541
accept rate: 36%


In the recently concluded COOK90, there were weak test cases for the SURVIVE problem. This was brought to my attention by (preda2or). The below test case was mentioned by him in another thread.

Eg:-

1
9 8 10

By the end of saturday(6th day you will have 6 chocolates with you and and won't be able to survive). So expected output is -1 but many submissions give 9 as output.

I had to spend a few more minutes checking for all corner cases and coding it up correctly. As this is the easiest problem in the contest, it is sure to make a difference in the ranks of people. So I request admins to look into this issue and make sure that it doesn't creep up in future contests. Thank You.

I am also attaching links to a few submission which give WA.

s1
s2
s3
s4
s5
s6 These are only from the first page. @admin

link

answered 22 Jan '18, 02:35

gomu's gravatar image

4★gomu
2084
accept rate: 5%

edited 22 Jan '18, 02:38

2

Yeah I also wasted a lot of time and seeing the submissions number I thought myself leaving Competitive Programming because spending many months on it and not able to solve "EASY(by number of submissions)" Question(But now I am happy that my code gives correct answer for above case :) ) .Anyways I hope @admin takes a wise decision.

(22 Jan '18, 10:56) saisurya0274★
2

We will add test cases to break these solutions in practice session. However, according to our policy, we don't retrospectively rejudge the problems. So, the standings of the cook-off stay as it is.

(23 Jan '18, 11:16) admin ♦♦0★
1

Very good policy indeed.

(23 Jan '18, 17:47) gomu4★

PS — In this cook off, we have changed the penalty from 20 minutes to 10 minutes. Enjoy!!

link

answered 21 Jan '18, 17:20

admin's gravatar image

0★admin ♦♦
19.8k350498541
accept rate: 36%

Great step....

Thanks a lot @admin

(21 Jan '18, 21:07) taran_14075★

When will the editorial for problem MAGA be up ?

link

answered 22 Jan '18, 23:03

tihorsharma123's gravatar image

2★tihorsharma123
49918
accept rate: 15%

looking for the same

(23 Jan '18, 12:38) harrypotter04★

@admin

1 8 7 9
This is just another test case where different solutions give different answers :P

link

answered 22 Jan '18, 11:26

guitarlover's gravatar image

5★guitarlover
1144
accept rate: 11%

edited 22 Jan '18, 11:27

Reducing the penalty time is a good step from your side as 20 minutes is too harsh for a short contest of 2.5 Hrs.

link

answered 21 Jan '18, 17:40

guitarlover's gravatar image

5★guitarlover
1144
accept rate: 11%

@admin Can you tell us what are your steps taken to handle the issue of weak test cases in problem SURVIVE?

link

answered 22 Jan '18, 12:43

saisurya027's gravatar image

4★saisurya027
1667
accept rate: 0%

toggle preview
Preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×369
×82

question asked: 21 Jan '18, 16:23

question was seen: 1,383 times

last updated: 23 Jan '18, 17:47