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.