Deemo's blog

By Deemo, 5 years ago, In English

Greetings Codeforces community!

CodeChef brings you its last contest of the month, Lunchtime. And everyone's invited! The June Lunchtime 2019, sponsored by ShareChat, is a 3-hour contest and will present you with 5 problems to test your coding abilities.

ShareChat — India’s fastest growing social network — is hiring for full-time and internship roles, and participants of the June Lunchtime will have a chance to apply for these exciting opportunities. Visit the contest page for more details.

We are on the hunt for a Mandarin Translator to help translate problem statements for our monthly contests. This will be a long-term commitment with translations required thrice a month. If you think you are up to the task, then do get back to us at problems@codechef.com.

Additionally, if you have some original and interesting problem ideas, and want them to be used in CodeChef's contests, you can share them here: www.codechef.com/problemsetting/new-ideas

I hope you will join your fellow programmers and enjoy the contest problems. Joining me on the problem setting panel are:

  • Setters: MladenP (Mladen Puzić), hackslash_123 (Raj Khandor)
  • Tester: Deemo (Michael Nematollahi)
  • Editorialist: taran_1407 (Taranpreet Singh)
  • Statement Verifier: Xellos (Jakub Safin)
  • Mandarin Translator: huzecong (Hu Zecong)
  • Vietnamese Translator: Team VNOI
  • Russian Translator: Mediocrity (Fedor Korobeinikov)
  • Bengali Translator: solaimanope (Mohammad Solaiman)
  • Hindi Translator: Akash Shrivastava

    Contest Details:

  • Start Date & Time: 29th June 2019 (1930 hrs) to 29th June 2019 (2230 hrs). (Indian Standard Time — +5:30 GMT) — Check your timezone
  • Contest link: https://www.codechef.com/LTIME73
  • 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 Indian and top 10 Global school students from ranklist will receive certificates and CodeChef laddus, with which the winners can claim cool CodeChef goodies. Know more here: https://discuss.codechef.com/t/how-do-i-win-a-codechef-goodie/7344. (For those who have not yet got their previous winning, please send an email to winners@codechef.com)

Good Luck!

Hope to see you participating!!

Happy Programming!!

Full text and comments »

  • Vote: I like it
  • +16
  • Vote: I do not like it

By Deemo, history, 6 years ago, In English

After years of trying really really really hard, I've come to the conclusion that I've reached my limit. Hence, I'm looking for an IGM with whom we can improve our knowledge by sharing our knowledge (during contest time).

Let us reach LGM together this way.

Full text and comments »

  • Vote: I like it
  • +160
  • Vote: I do not like it

By Deemo, 6 years ago, In English

Greetings Codeforces community!

I'd like to invite you to take part in CodeChef’s January Lunchtime 2019 sponsored by ShareChat. This short contest lasts 3 hours and has 5 problems for participants to solve and is rated for both divisions.

ShareChat- India’s fastest growing social network and sponsor of the contest is seeking talented programmers to join their team. Participants in the January Lunchtime will be eligible to apply for these jobs. Additionally, top 3 performers from Division 1 will gain free entry to the Hello Muscat Programming Bootcamp to be held in Muscat, Oman. For more details, visit the contest page.

The problem statements can be read in English, Hindi, Bengali, Russian, Mandarin and Vietnamese for greater ease of access. I hope you will join your fellow programmers and enjoy the contest problems. Joining me on the problem setting panel are:

  • Setter and Editorialist: Deemo (Michael Nematollahi)

  • Tester: teja349 (Teja Vardhan Reddy)

  • Statement Verifier: Xellos (Jakub Safin)

  • Mandarin Translator: huzecong (Hu Zecong)

  • Vietnamese Translator: Team VNOI

  • Russian Translator: Mediocrity (Fedor Korobeinikov)

  • Bengali Translator: solaimanope (Mohammad Solaiman)

  • Hindi Translator: Akash Shrivastava

Contest Details:

  • Start Date & Time: 26th January 2019 (1930 hrs) to 26th January 2019 (2230 hrs). (Indian Standard Time — +5:30 GMT) — Check your timezone
  • Contest link: https://www.codechef.com/LTIME68
  • 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 Indian and top 10 Global school students from ranklist will receive certificates and CodeChef laddus, with which they 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)

Good Luck!

  • UPD Thank you for participating. I hope you enjoyed and please, leave your feedback below in the comments.

Full text and comments »

  • Vote: I like it
  • +50
  • Vote: I do not like it

By Deemo, history, 8 years ago, In English

I just noticed that Codeforces has no problem judging c++ programs that are using %lld. So what is that warning for?

Full text and comments »

  • Vote: I like it
  • +88
  • Vote: I do not like it

By Deemo, history, 9 years ago, In English

Can anyone tell me how to solve this problem?

http://mirror.codeforces.com/contest/177/problem/G2

Thanks in advance!

Full text and comments »

  • Vote: I like it
  • +36
  • Vote: I do not like it

By Deemo, history, 9 years ago, In English

I couldn't find a clear answer. Can you help?

Full text and comments »

  • Vote: I like it
  • +30
  • Vote: I do not like it

By Deemo, 9 years ago, In English

Participating alone in a virtual contest is quite boring, so I've decided to create a group for programmers who feel the same and want to compete in virtual contests alongside other people.

To join this group, your cf rating should be at least 2000 (I might make exceptions though if you convince me your rating is not what it should be) and you should send me a message containing suggestions about how we should communicate and your thoughts about what the minimum rating of members should be.

I'd also like to know opinions of more experienced users about my plan! So please, send me messages about your thoughts. :)

**UPD** If you want to join the group (and your rating's meeting the requirements) send me a message containing your telegram username.

Hey guys,

I wanted to update this blog to let you know that this group is no longer for virtual participation. It's simply a group where sometimes we share and discuss problems. Feel free to contact me if you're interested in joining our group.

Full text and comments »

  • Vote: I like it
  • +23
  • Vote: I do not like it

By Deemo, history, 9 years ago, In English

It's only a few days left till April Fools' Day, and I can't find the contest in the upcoming rounds. Is there going to be a contest or Nickolas is still too busy to prepare the round?

Full text and comments »

  • Vote: I like it
  • +89
  • Vote: I do not like it

By Deemo, history, 9 years ago, In English

Today, I was trying to solve 626E - Simple Skewness, and I had some troubles implementing a ternary search on integers! I knew how to run a ternary search on doubles, but I didn't know how to do it on integers.

So after getting it accepted, I tried reading accepted codes of other people and I found a nice way to do it. since many of the best coders in codeforces (including tourist and Errichto) didn't use this while solving 626E - Simple Skewness, I think many people don't know about it!

So here it is!

int lo = -1, hi = n;
while (hi - lo > 1){
    int mid = (hi + lo)>>1;
    if (f(mid) > f(mid + 1)) 
         hi = mid;
    else 
         lo = mid; 
}
//lo + 1 is the answer

Full text and comments »

  • Vote: I like it
  • +82
  • Vote: I do not like it