TRYING SOLVING GIFT SETS WITHOUT BINARY SEARCH

Правка en1, от S.P.A.R.K, 2021-06-26 14:38:43

i was on this problem for a while 1538G - Gift Set , i wrote my code 120665262 for solution.

it gives WA on test case 2 where 1103rd numbers do not match.

i used basic geometry to solve the problem.(mayb its called linear programming — i dont know exactly.)

Anyone having suggestions what m doing wrong here. THANKS.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский S.P.A.R.K 2021-06-26 14:41:11 59
en1 Английский S.P.A.R.K 2021-06-26 14:38:43 378 Initial revision (published)