Hi CF users, I am stuck on this problem for a long while now. Even after reading the tutorial I am not convinced regarding the trajectory of the ball. Can anybody help me with a simple explanation of the solution?

Thanks in advance.

Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official.
×

# | User | Rating |
---|---|---|

1 | tourist | 3880 |

2 | jiangly | 3669 |

3 | ecnerwala | 3654 |

4 | Benq | 3627 |

5 | orzdevinwang | 3612 |

6 | Geothermal | 3569 |

6 | cnnfls_csy | 3569 |

8 | jqdai0815 | 3532 |

9 | Radewoosh | 3522 |

10 | gyh20 | 3447 |

# | User | Contrib. |
---|---|---|

1 | awoo | 161 |

2 | maomao90 | 160 |

3 | adamant | 156 |

4 | maroonrk | 153 |

5 | -is-this-fft- | 148 |

5 | atcoder_official | 148 |

5 | SecondThread | 148 |

8 | Petr | 147 |

9 | nor | 144 |

9 | TheScrasse | 144 |

Hi CF users, I am stuck on this problem for a long while now. Even after reading the tutorial I am not convinced regarding the trajectory of the ball. Can anybody help me with a simple explanation of the solution?

Thanks in advance.

I am quite weak in DP and Bitmasking concept. I need help to solve this problem https://www.codechef.com/problems/TSHIRTS

Thanks.

problem link I am doing this question using AVL tree but I am not able to handle the duplicate values in the input. First , I thought of using a vector for each node but that will turn out to be a TLE. Any help would be really appreciated.

Thanks in advance.

Codeforces (c) Copyright 2010-2024 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: Jul/22/2024 11:08:18 (j2).

Desktop version, switch to mobile version.

Supported by

User lists

Name |
---|