What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 127 Stack Exchange communities.

I just saw yet another question which is just a huge block of code. How did this get around the upgraded filter? The entire body of the question is here:

 public  class ArrayDuplicates
    {
       public static int[] RemoveDuplicates(int[] s)
       {
           HashSet<int> set = new HashSet<int>();
           int[] result = new int[s.Length];
           int j=0;

           for(int i=0;i<s.Length;i++)
           {
               if (!set.Contains(s[i]))
               {
                   set.Add(s[i]);
               }
               else
               {
                   result[j++]=s[i];
               }
           }

           return result;
       }
share|improve this question
8  
The original revision had some "text" (incorrectly formatted code, which was fixed by editors), which could be the cause. –  DMA57361 Oct 20 '11 at 18:36
add comment

You must log in to answer this question.

Browse other questions tagged .