How can the last contest's C problem which was mixing water can be solved using binary search or something like that.

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

1 | tourist | 3619 |

2 | Um_nik | 3493 |

3 | ecnerwala | 3446 |

4 | Radewoosh | 3383 |

5 | ksun48 | 3357 |

6 | yosupo | 3324 |

7 | Benq | 3299 |

8 | maroonrk | 3243 |

9 | apiadu | 3238 |

10 | Petr | 3217 |

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

1 | Errichto | 207 |

2 | Monogon | 199 |

3 | SecondThread | 195 |

4 | vovuh | 189 |

5 | Um_nik | 186 |

5 | antontrygubO_o | 186 |

7 | pikmike | 184 |

8 | Ashishgup | 182 |

9 | pashka | 169 |

10 | Radewoosh | 167 |

How can the last contest's C problem which was mixing water can be solved using binary search or something like that.

↑

↓

Codeforces (c) Copyright 2010-2020 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: Oct/25/2020 23:08:11 (f1).

Desktop version, switch to mobile version.

Supported by

User lists

Name |
---|

Just keep solve problems with some positive delta above your rating. When you find problems which need something that you don't know then you should learnt it.

This. 90% of Div2C can be solved knowing just binary search and prefix sums.

Thanks

CP-Algorithms is all you need.

1.Div2 c: complete algebra part and string part

2.Div2 d: complete graph (upto bellman ford) and segtrees

You can pratice more problem from A2OJ ladder.

Learn mathematical topics like Number Theory, Combinatorics.

Speaking of DSA, learn Dynamic Programming, you can find many playlists out there and practice a lot... DP is one of the things which require a lot of practice. I am still trying to improve my DP.

Also you may learn Graph Theory slowly, it's a vast topic and will require a lot of time, but starting will allow you to do even Div2D & Educational D problems too...those graph questions which are rated under 1800 and tagged as dfs and similar can be done using basic concepts of graph theory. But I insist on doing mathematics part, it helps a lot.

Also you need to practice a lot on a topic you've just studied.

I'm sharing some of the playlists/links, I've followed if it helps you.

Number Theory(even recommended by Errichto)

Graph Theory 1

Graph Theory 2

DP

Youtube channels of Errichto, kazama460 and striver_79 are awesome. You can follow their channels for amazing learning experience.

For practice of problems of a topic you can simply filter in CF problemset or go to A2OJ.

UPD : Yes, CP-Algorithms is the best place out there if you prefer reading than watching.

I think referring Tushar Roy for DP does not makes sense, he starts the approach by writing the recurrence, without explaining the thought process behind it, which will not help a beginner to learn DP.

Yeah, I agree too. But I didn't find any complete DP playlist other than his, Both you and kazama460 were/are still updating your playlists(P.S.- I follow them too). But I just gave the link of it because I thought that it was complete, sorry if I'm wrong.

Btw, love your video editorials, in some problems those really helps a lot to understand, because the official editorial statements are not properly understandable sometimes. Also loved your Fenwick Tree tutorial.

lol true.

Thanks :)

Thanks :) What actually do u mean by mathematical part?

Number Theory, Algebra, Combinatorics, etc.

Just go to CP-ALgorithms and try to cover the topics under Algebra and Combinatorics.

You'll understand what I'm telling.

Thanks again

Auto comment: topic has been updated by aryabhatta007 (previous revision, new revision, compare).