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/
# | User | Rating |
---|---|---|
1 | tourist | 3697 |
2 | Benq | 3583 |
3 | Petr | 3522 |
4 | ecnerwala | 3467 |
5 | Radewoosh | 3466 |
6 | maroonrk | 3369 |
7 | Um_nik | 3358 |
8 | jiangly | 3330 |
9 | Miracle03 | 3314 |
10 | scott_wu | 3313 |
# | User | Contrib. |
---|---|---|
1 | 1-gon | 213 |
2 | Errichto | 189 |
3 | awoo | 188 |
4 | rng_58 | 187 |
5 | SecondThread | 186 |
6 | Um_nik | 179 |
7 | Ashishgup | 177 |
8 | maroonrk | 172 |
8 | vovuh | 172 |
8 | antontrygubO_o | 172 |
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/
Name |
---|
It wouldn't have any sense so I guess it's never asked.
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.
I really liked your id.