Hackerrank — Beautiful 3 Set

Правка en1, от RazvanD, 2016-08-29 11:15:26

https://www.hackerrank.com/contests/world-codesprint-6/challenges/beautiful-3-set

I can't quite understand how to solve the problem. Although there is an editorial it's really poorly written as it only explains how to get an upperbound for the number of sets but it doesn't explain why that upperbound is achievable and how to come up with a formula for the numbers that satisfy the bound.

Thanks in advance.

Теги math, hackerrank, world codesprint 6, bad editorial

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский RazvanD 2016-08-29 11:15:26 444 Initial revision (published)