advitiyabrijesh's blog

By advitiyabrijesh, history, 4 years ago, In English

I was trying to solve this problem using dp, with states(mask1, mask2, idx), where mask1 tells me how many tables I have covered so far and mask2 tells me what are the tables I have covered so far with 'idx'th group, but it will surely timeout, any other suggestions to improve complexity or are there any other solutions?

Full text and comments »

  • Vote: I like it
  • +12
  • Vote: I do not like it

By advitiyabrijesh, history, 7 years ago, In English

I was doing this brute force problem, when I submitted my Code in GNU C++14 it gives WA whereas same code gets AC in GNU C++ ?

Full text and comments »

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