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

Автор Mister_Rainbow, история, 3 года назад, По-английски

Hello Everyone! I wanted to get better at maths and got to know about Art of Problem Solving being one of the very good sites to practice maths. But I wanted to know from people who have made use of it, which sections / parts do you fell are good for practising maths specially for competitive programming.

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

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

Автор Mister_Rainbow, история, 3 года назад, По-английски

Hello everyone!

Today I was trying to solve ABC-51 Problem B. link to problem....

The editorial mentions a O(k^2) solution by looping through all possible values of x and y and figuring if a valid z exists for that x and y.

This solution had passed because the limits were not very tight. I was curious to know if there exists a faster way to solve this problem if the constraints are big!

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

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