Omar_Morsi's blog

By Omar_Morsi, history, 5 years ago, In English

This can be helpful for people who want to retrieve all of their accepted Codeforces solution links.

I implemented this simple script in GoLang as I needed to collect all of my Codeforces solution links and put them on Github in this format.

Usage

  • Download and Execute Retriever file.
  • Provide your Codeforces Handle when prompted.
  • Codeforces Solutions folder should be created!

I hope this helps.

Update: Now it should work for Windows users.

Full text and comments »

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

By Omar_Morsi, history, 6 years ago, In English

I think it will be a nice and fun feature to be able to see all the contests that a specific team participated in.

Full text and comments »

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

By Omar_Morsi, history, 6 years ago, In English

Can you provide a Greedy solution for the following problem ?

Given N <= 1e18 , M <= 10,000

Provide an array D = [d1, d2, d3, ... , dk] , such that d1 * d2 * d3 * ... * dk = N, di <= M, k should be minimized, or print impossible.

Full text and comments »

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