Mhn_Neek's blog

By Mhn_Neek, history, 9 months ago, In English

The ICPC WF 2025 is set to take place in Baku, starting on August 31th(just around 9 days to go),

Who will rise to the top this year?

Comment your predictions below!

UPD:ONLY 4 DAYS REMAINING!!!!

Full text and comments »

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

By Mhn_Neek, history, 10 months ago, In English

The IOI 2025 is set to take place in Bolivia, starting on July 27th(just around 13 days to go),

Who will rise to the top this year?

Comment your predictions below!

P.S. You can see Teams in this blog post: Otherwordly's blog

UPD:ONLY 2 DAYS REMAINING!!!!

Full text and comments »

Tags ioi
  • Vote: I like it
  • +112
  • Vote: I do not like it

By Mhn_Neek, history, 12 months ago, In English

suggest a problem to solve as my 1400-th problem in CF

Full text and comments »

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

By Mhn_Neek, history, 13 months ago, In English

If you want to post an entry PLEASE PLEASE PLEASE first search and see old blogs maybe someone have already asked your question. If all users do this, there won't be too much blogs like "how to become expert" or something like that.

Full text and comments »

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

By Mhn_Neek, history, 13 months ago, In English

Contests are getting pointless and all results are almost unofficial because of cheating and AI.

I hope someone do something for this :(

Full text and comments »

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

By Mhn_Neek, history, 14 months ago, In English

codeforces works like this:

1.start the contest go to line 2

2.is tourist winner? if Yes line 3 else line 1

3.finish the contest

Full text and comments »

  • Vote: I like it
  • -26
  • Vote: I do not like it

By Mhn_Neek, history, 20 months ago, In English

Tourist level has still the same color as LGM in the chart:

Full text and comments »

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

By Mhn_Neek, history, 21 month(s) ago, In English

You can make a mashup contest of problems you want to solve and send your solution in a group. Your code will be judged in a few minutes!

Full text and comments »

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

By Mhn_Neek, history, 23 months ago, In English

I tried a greedy solution for this problem:
1. If there exist a pair of adjacent vertices like $$$(u,v)$$$ such that $$$deg(u)\geq3$$$ and $$$deg(v)\geq3$$$, then remove the edge between $$$u$$$ and $$$v$$$.
2. Then, if there exist a pair of adjacent vertices like $$$(u,v)$$$ such that $$$deg(u)\geq3$$$ and $$$deg(v)\geq2$$$, then remove the edge between $$$u$$$ and $$$v$$$.
3. Then, if there exist a pair of adjacent vertices like $$$(u,v)$$$ such that $$$deg(u)\geq3$$$ and $$$deg(v)\geq1$$$, then remove the edge between $$$u$$$ and $$$v$$$.
At last, I add edges between the leaves of different components .
Why isn't it correct??

submission

Full text and comments »

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

By Mhn_Neek, history, 23 months ago, In English

Given a graph G s.t. any cycle in G has length 3.
1)Find the maximum number of edges. 2)Find the maximum number of cycles.

Full text and comments »

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

By Mhn_Neek, history, 23 months ago, In English

How to find the number of pairs of integers (x,y) such that gcd(x,y) = 1?
n<=1e6
x<y<=n
time limit = 2s

Full text and comments »

  • Vote: I like it
  • -4
  • Vote: I do not like it