31337



  • I found this cleaning out a scratch folder on a machine I haven't used in a while.  I'm ashamed and yet so so proud.

     

     int main(int argc, char** argv){
      int i, j, k;

      for(i=2,j=2;i<3380;i=((j%k)>0)?i+1:i) for(k=2,j++;k<=j/2&&((j%k)>0);k++);

      printf("%d\n", j);

      return 0;
    }



  • There is a "Funny Stuff" forum that might be more appropriate for this kind of thing than the Sidebar. 



  • Except that I don't read "Funny Stuff," and so I like it here.

    Who died and left you in charge?



  • @mrprogguy said:

    Except that I don't read "Funny Stuff," and so I like it here.

    Your laziness is no excuse for ignoring the forum classification system.  This is obviously not a WTF, it's just a worthless snippet written by the OP.

     

    @mrprogguy said:

    Who died and left you in charge?

    Millions died so that I might be in charge.  Millions.  Do you think one more would weigh on my blackened heart?



  • He's in training for moderator-hood.  He's harsh but fair, so I think I'll vote for him when the time comes.  (Plus he likes me better cuz I'm a girl, I get whatever I want here.  muhaha)



  • @mrprogguy said:

    Except that I don't read "Funny Stuff," and so I like it here.

    Who died and left you in charge?

    Masterplansoftware died. Now morb rules over all flameage.


  • @astonerbum said:

    @mrprogguy said:

    Except that I don't read "Funny Stuff," and so I like it here.

    Who died and left you in charge?

    Masterplansoftware died. Now morb causes all flameage.
     

     

    Corrected your typo. 



  • I was almost going to try to figure out what that does, but then I realized that you haven't given us any reason to care.



  • @sibtrag said:

    @astonerbum said:

    @mrprogguy said:

    Except that I don't read "Funny Stuff," and so I like it here.

    Who died and left you in charge?

    Masterplansoftware died. Now morb causes all flameage.
     

     

    Corrected your typo. 

    Oh don't talk bollocks. How is Morb causing a flamewar here? All he's done is, yet again, point out that something has been posted in the wrong forum. And Christ do we need someone to do that at the moment given the number of incorrectly posted articles. And that's assuming that this was funny enough to even be posted in the Funny Stuff forum.



  • Alright, settle down, let's not worry about it ...Morbius was just trying to be helpful -- please don't start flaming him. It's not really funny nor a WTF, so let's just leave it here. 

    I think threads going far off topic and burying the original post/subject is a much worse problem than someone occasionally making the wrong judgement call in deciding if something is "funny" or a "WTF"  -- since there is of course often overlap between the two, and it's obviously very subjective.



  • Also -- Morbius and others, if you do think someone has posted something in the wrong place, please just let one of the moderators know and we can move it.  (Even though it is not abusive, you can click the "report abuse" button to send a message)  We'll post a little note (i.e., "(moved to 'Funny Stuff') ") so that the OP is aware of his mistake and can do better going forward.  Thanks!



  • @Aaron said:

    I was almost going to try to figure out what that does, but then I realized that you haven't given us any reason to care.
    Prints "31337" to the console, then exits with errorlevel 0.

    Error while trying to care about snippet. Abort, Retry, Fail?_



  • R

    it calculates prime numbers.

     

    Anyway, how bout we just delete this whole mess and call it a day?



  • @sibtrag said:

    @astonerbum said:

    @mrprogguy said:

    Except that I don't read "Funny Stuff," and so I like it here.

    Who died and left you in charge?

    Masterplansoftware died. Now morb causes all flameage.
     

     

    FTFY.



    FTFY.


  • @cconroy said:

    @sibtrag said:

    @astonerbum said:

    @mrprogguy said:

    Except that I don't read "Funny Stuff," and so I like it here.

    Who died and left you in charge?

    Masterplansoftware died. Now morb cconroy causes kills all flameage adorable puppies.
     

    FTFY.



    FTFY.

    FTFY. 


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.