alt_1234AA's blog

By alt_1234AA, history, 22 months ago, In English

I solved Subsequence LCM of Yesterdays Contest.

First I used map and "\n", it gave me tle

Then I used unordered map and "\n" gave AC.

wasted a lot of time :(.

Can anyone please tell me why this happened?

unordered_map Solution (AC): Link

Map solution (TLE) : Link

Thank you and have a nice day.

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

| Write comment?