Search found 1 match

by DarkKnight
Tue Jun 05, 2007 5:29 am
Forum: Volume 112 (11200-11299)
Topic: 11215 - How Many Numbers?
Replies: 11
Views: 6045

I used set in STL to avoid storing duplicate numbers, but I got TLE.

After that I used some arrays instead of set to the numbers, and delete duplicate numbers at last. But the approach couldn't avoid MLE.

So I tried to delete duplicate numbers as soon as memory ran out.
I thought it was not good ...

Go to advanced search