When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

I_Love_Big_Boobs's blog

By I_Love_Big_Boobs, history, 3 years ago, In English

I know this question is from an ongoing contest but I have some doubts. It is not mentioned in the question what we have to do when n=1 and k=2. https://www.codechef.com/MARCH21C/problems/MAXTOPO/

  • Vote: I like it
  • -25
  • Vote: I do not like it

»
3 years ago, # |
  Vote: I like it +8 Vote: I do not like it

It wouldn't have any sense so I guess it's never asked.

  • »
    »
    3 years ago, # ^ |
      Vote: I like it +1 Vote: I do not like it

    Yeah, I confirmed it by using assert in my code. My solution was failing for 2 cases, so I thought this might be the case.

»
3 years ago, # |
  Vote: I like it +7 Vote: I do not like it

I really liked your id.