daiict218's blog

By daiict218, history, 6 years ago, In English

Hi,

In the above problem, I tried using the method of diving an array in two subsets with minimum difference but it gave me wrong answer for the test case

5
110 90 70 50 40

For me, the answer should be that one person would take pizza with sector angles 90,40 and 50 and other person will take sectors 110 and 70. Did I understand the problem incorrectly?

Full text and comments »

  • Vote: I like it
  • -5
  • Vote: I do not like it

By daiict218, 9 years ago, In English

Hi, My program is giving MLE on the test case 22. I am taking a matrix of 5000*5000.

my submission is : http://codeforces.com/contest/467/submission/11321869 Any help would be appreciated.

Thanks in advance.

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it