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

Автор Aziza, 11 лет назад, По-английски

Can you suggest me a solution for the problem sgu 369?

Vasya loves his new game which is played on an infinite rectangular grid where K cells are initially black, all other cells are white. The move of the game is to find three black cells which are vertices of some rectangle with sides parallel to coordinate axis such that the fourth vertex of the rectangle is white. In this case you need to paint the fourth vertex black. Vasya asks you to write a program which calculates the number of black cells in the end of the game, i.e. when no more moves can be made.
(0 ≤ K≤ 2· 10^5) and -10^9 ≤ Xi, Yi ≤ 10^9

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

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

Автор Aziza, 11 лет назад, По-английски

We need to delete minimum number of vertices from directed graph, so that after this operation , there is no cycle in the graph ?

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

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

Автор Aziza, 12 лет назад, По-русски

Здраствуйте, подскажите пожалуйста как можно решить задачи 322. The Great Union и задачу 325. Palindrome.
Заранее спасибо).

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

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

Автор Aziza, 12 лет назад, По-русски
how to solve this problem ? I have no idea !!!!!!!
thanks !
http://www.e-olimp.com/en/problems/1174

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

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

Автор Aziza, 12 лет назад, По-русски

Подскажите как решить задачу D или G?


http://www.e-olimp.com/en/competitions/499 суда можно сдать

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

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