CodeChef Twitter Contest

1 min read

Hey,
CodeChef.com has some of its merchandise up for grabs. You could be one of the lucky few to get your hands on them!

CodeChef will be posting two brain teasers everyday on Twitter starting 22nd June to 25th June. If you can answer at least one puzzle, you are eligible to win a CodeChef t-shirt. At the end of each day we will randomly pick five names from all the correct entries and send them their prize.  At the end of the contest we will select one person who has answered the most puzzles correctly and send them an Amazon gift voucher worth $25 (if there is a tie, a winner will be chosen randomly).

Instructions to participate of the contest

1. Follow CodeChef on Twitter and be on the lookout for two puzzles posted daily around 11:00 AM and 7:00 PM.
2. Once the question is posted, you have 24 hours to submit your response.
3. All submissions should take the form @codechef *your answer* #codechef (Please include the hashtag so we can easily track the responses)
4. Answer at least one question right and you’ll be eligible for a free t-shirt. If you crack both the questions you’ll double your chances for that day.
5. We will declare the winners around 8:00 PM everyday.
6. The winner of the Amazon gift voucher would be declared at the end of the five days (26th of June 09 around 9:00 PM).
7. You can attempt as many questions as you like, multiple times. The more questions you answer correctly, the better your chances will be to win.

Cheers,
Krishna

Join us in celebrating the Women in Competitive Programming

As Michelle Obama rightly said, ‘There is no limit to what we, as women, can accomplish’ They inspire us all! Every year, we dedicate...
smruti_444
3 min read

CodeChef DSA Student Offer

About the Offer The CodeChef DSA Certification provides the software industry a benchmark to evaluate and recruit the best programmers out there. More importantly,...
admin
1 min read

[Live Updates] ACM ICPC Kanpur Regional 2019-20

Welcome to the live blog for the ACM ICPC Amritapuri Regional 2019-20. The contest started at 10:20 am IST. Link to Public Ranklist 11:05:...
madhav122
2 min read

20 Replies to “CodeChef Twitter Contest”

  1. If the answer is replied to your directly using @codechef, it will be visible to all!
    There is way out of this. Why not ask people to send a DM (direct message) in twitter?

    1. hi Pruntz,
      Actually only people who are following both you and CodeChef will see @codechef in their activity stream. Only people we are following will be able to DM us which means it wouldn’t be open to everyone. Hope this helps,
      Chef

  2. If the answer is replied to your directly using @codechef, it will be visible to all!
    There is way out of this. Why not ask people to send a DM (direct message) in twitter?

    1. hi Pruntz,
      Actually only people who are following both you and CodeChef will see @codechef in their activity stream. Only people we are following will be able to DM us which means it wouldn’t be open to everyone. Hope this helps,
      Chef

  3. “The Chef wants to move from one corner of his kitchen to the other. It is a 25 by 35 grid. How many ways do you think he has?”
    ..
    ..
    A few things are missing here ,
    1.) Which corner to which corner ? ( I guess, its a rectangular kitchen and you are referring to the opposite corners )
    2.) Define ‘move’. ( I guess, he can move only horizontally or vertically, parallel to X-Y axis in any of the 4 directions )
    3.) He should not visit the same cell in the grid again ( Right ? )

    – Thank you

  4. “The Chef wants to move from one corner of his kitchen to the other. It is a 25 by 35 grid. How many ways do you think he has?”
    ..
    ..
    A few things are missing here ,
    1.) Which corner to which corner ? ( I guess, its a rectangular kitchen and you are referring to the opposite corners )
    2.) Define ‘move’. ( I guess, he can move only horizontally or vertically, parallel to X-Y axis in any of the 4 directions )
    3.) He should not visit the same cell in the grid again ( Right ? )

    – Thank you

  5. Hi Anil,

    All the 3 assumptions that you mentioned are right.
    * The Chef needs to move to the opposite corner of the grid.
    * He can move only on the edges of each rectangular cell of the grid
    * The Chef doesn’t want to backtrack. He can visit each cell only once.

    Let me know in case you need anything else.

    Cheers,
    Krishna

  6. Need clarification for Day-3 Q1:

    – What is meant by mirror image? Where is the mirror placed? top, bottom, left, right, vertically below or vertically above?
    – How are the numbers written? For example is nine written like 9 or g or q ? Same as for 1, 2, 4 etc?

  7. Need clarification for Day-3 Q1:

    – What is meant by mirror image? Where is the mirror placed? top, bottom, left, right, vertically below or vertically above?
    – How are the numbers written? For example is nine written like 9 or g or q ? Same as for 1, 2, 4 etc?

  8. Hi Neelesh,

    By mirror image of a number below 1000 I mean that digit on the extreme left change places with the digit on the extreme right. For instance 12 & 21, 437 & 734 etc.

    Hope this clears things. Let me know in case you have any other issues.

    Cheers,
    Krishna

  9. “The chef wants a conical roof for his kitchen with base>50, height = base +-1 and length being an integer. Find the dimensions.”
    .
    What is meant by base ? ( base radius ?? )
    What is meant by length ? ( slant height?? )

    – Thank you

  10. “The chef wants a conical roof for his kitchen with base>50, height = base +-1 and length being an integer. Find the dimensions.”
    .
    What is meant by base ? ( base radius ?? )
    What is meant by length ? ( slant height?? )

    – Thank you

  11. Hi Anil,
    The base diameter > 50 units, the height = base diameter +- 1 and the length which is the slant height needs to be an integer.

    Let me know in case you need anything else.

    Cheers,
    Krishna

  12. “The chef wants a conical roof for his kitchen with base>50, height = base +-1 and length being an integer. Find the dimensions.”

    so the length is an integer in both cases (height = base+1 and height = base-1) or atleast one case?

  13. “The chef wants a conical roof for his kitchen with base>50, height = base +-1 and length being an integer. Find the dimensions.”

    so the length is an integer in both cases (height = base+1 and height = base-1) or atleast one case?

  14. Hi Neelesh,

    I just need one set of dimensions with the base being >50 units, the height is either + or – 1 the base and the length should be an integer in either case.

    Hope this helps!

    Cheers,
    Krishna

Leave a Reply to dpgodct.od Cancel reply