C++ Map Memory Limit Exceeded!

Правка en2, от GlydonNeedsDedication, 2021-12-10 13:54:45

For a practice problem of bitmask in Topic Stream Mashup: Bitwise Operations
( If not opening , click HERE )
I wrote 2 solutions ( Solution1 , Solution2 )
Solution1 is accepted
But Solution2 is showing Memory Limit Exceeded even for testcase1

Can Anyone explain why this happening?

The only change between the two codes is shown here ->
main difference

Теги need help, map

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский GlydonNeedsDedication 2021-12-10 13:56:20 292
en2 Английский GlydonNeedsDedication 2021-12-10 13:54:45 2 Tiny change: 'ven for textcase1** <' -> 'ven for testcase1** <'
en1 Английский GlydonNeedsDedication 2021-12-10 13:53:39 1185 Initial revision (published)