PC_E1052's blog

By PC_E1052, history, 6 weeks ago, In English

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?

Full text and comments »

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

By PC_E1052, history, 4 months ago, In English

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

Full text and comments »

 
 
 
 
  • Vote: I like it
  • +11
  • Vote: I do not like it

By PC_E1052, history, 11 months ago, In English

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

Full text and comments »

 
 
 
 
  • Vote: I like it
  • +5
  • Vote: I do not like it

By PC_E1052, history, 11 months ago, In English

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?

Full text and comments »

 
 
 
 
  • Vote: I like it
  • +8
  • Vote: I do not like it