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?
here's example problems.
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?