f(x) = f(y)+f(x-y)+2y (1<=y<=x/2) f(1)=1

i know that f is about xlogx when y is x/2

but i cant prove xlogx is maximum

can someone help me? why cant it be bigger?

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

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

1 | Radewoosh | 3759 |

2 | orzdevinwang | 3697 |

3 | jiangly | 3662 |

4 | Benq | 3644 |

5 | -0.5 | 3545 |

6 | ecnerwala | 3505 |

7 | tourist | 3486 |

8 | inaFSTream | 3478 |

9 | maroonrk | 3454 |

10 | Rebelz | 3415 |

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

1 | adamant | 172 |

2 | awoo | 167 |

3 | SecondThread | 163 |

4 | BledDest | 162 |

4 | Um_nik | 162 |

6 | maroonrk | 161 |

7 | nor | 160 |

8 | -is-this-fft- | 150 |

9 | Geothermal | 146 |

10 | TheScrasse | 143 |

f(x) = f(y)+f(x-y)+2y (1<=y<=x/2) f(1)=1

i know that f is about xlogx when y is x/2

but i cant prove xlogx is maximum

can someone help me? why cant it be bigger?

Can i determine whether the size of minimum vertex cover of general graph is less than 3 or not within 2 seconds where V,E <= 5* 10^4 ??

Thank you

here's example problems.

https://www.codechef.com/START21B/problems/MSUB121

https://atcoder.jp/contests/abc219/tasks/abc219_g

is there any tag or name for n*sqrt(n) problems? or are they just ad-hoc? i can't even approach to these type of problems during the contest. i wanna practice but i don't know what to search.

Q : is there any tag or category for type of problems above? or any tutorial blogs for those

There is simple undirected graph with n vertices and m edges. ( N<=10 , m<=n*(n-1)/2 ) At most how many edges can we pick so that in graph with n vertices and edges we picked, degree of every vertices is equal or less than P. ( P <= n-1 )

I know this problem is about bitmask dp but i cant figure out dp-state.

Is there any hint or similar problem in codeforces or atcoder?

Codeforces (c) Copyright 2010-2023 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: Nov/29/2023 02:53:00 (l1).

Desktop version, switch to mobile version.

Supported by

User lists

Name |
---|