yash_daga's blog

By yash_daga, history, 22 months ago, In English

We invite you to participate in CodeChef’s Starters 163, this Wednesday, 4th December, rated upto 5 stars (i.e. for users with rating < 2200).

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!

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

| Write comment?
»
22 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

BUMP

Contest starts in about 40 mins

»
22 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

virtual memory exhausted: Cannot allocate memory what's going on ? i keep getting this error

»
22 months ago, hide # |
 
Vote: I like it +16 Vote: I do not like it

The problems were very good today.

»
22 months ago, hide # |
← Rev. 2  
Vote: I like it +25 Vote: I do not like it

variables in tree sum question was given in wrong order to what is mentioned.

»
22 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

good problems today !

»
22 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

For Nice Array problem, I tried the same approach kind of approach in c++ which was given in the editorial. Strangely, it was giving a wrong answer. Why is it so? I made sure to use ceil division (x+k-1)/k to calculate the ceil of the number!