Блог пользователя IceKnight1093

Автор IceKnight1093, 11 месяцев назад, По-английски

We invite you to participate in CodeChef’s Starters 208, this Wednesday, 15th October, rated for 6 star (i.e. for users with rating < 2500).

Time: 8:00 PM — 10:00 PM IST

Joining us on the problem setting panel are:

Written editorials will be available for all on discuss.codechef.com. Pro users can find the editorials directly on the problem pages after the contest. The video editorials of the problems will be available only to Pro users.

Also, if you have some original and engaging problem ideas, and you’re interested in them being used in CodeChef's contests, you can share them here.

Hope to see you participating.
Good luck!

  • Проголосовать: нравится
  • +26
  • Проголосовать: не нравится

»
11 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Contest starts in 30 minutes.

»
11 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

what was the idea for div2 5th question, i thought of finding pairs such that i^j=k, now i need to find partition of values i+1,i+2...j-2,j-1 such that say partiton was i+1,i+2,,,m and m+1,m+2,..j-1 and xor of i with the first half of partiton values is <=k and xor of j with second half of partiton values is <=k. i couldn't find an efficient way to do this though:(

»
11 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

was there a particular reason in Div1 4 problem to make it either 1 or -1? because any values could have worked.