Изменения рейтингов за последние раунды временно удалены. Скоро они будут возвращены. ×

Блог пользователя Omar_Morsi

Автор Omar_Morsi, история, 5 лет назад, По-английски

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.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +74
  • Проголосовать: не нравится

Автор Omar_Morsi, история, 6 лет назад, По-английски

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

Полный текст и комментарии »

  • Проголосовать: нравится
  • +50
  • Проголосовать: не нравится

Автор Omar_Morsi, история, 6 лет назад, По-английски

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.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +4
  • Проголосовать: не нравится