Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

C

Name: Anonymous 2008-06-09 23:00

I have some questions on testing numbers.

How do I test for;
- Prime
- Multiples
- Penises

I'd like to be put on the right track to figuring this out or writing a solution, rather than having one handed to me, if possible.

Name: Anonymous 2008-06-09 23:00

I'm used to being mollycoddled by (is-prime? x), you see :(

Name: Anonymous 2008-06-09 23:42

Google for lolcocks.h, should take care of the last test at least.

Name: Anonymous 2008-06-10 0:07

>>3
Actually you can just test directly. Use a double spaced ** dereference, like this:
*grabs dick*

For the rest, there's no point in doing it yourself. You could code an Eratosthene sieve, but it'd be ridiculously inefficient compared to the complex algorithms that already exist.

Name: Anonymous 2008-06-10 0:22

>>1
I'm not sure what your application is, but it's best to try the simplest solution first and only get fancy if it's too slow.

If the naive approach  is not to your taste, you could try implementing this: http://en.wikipedia.org/wiki/Lucas%E2%80%93Lehmer_test

Name: Anonymous 2008-06-10 1:46

I think your male teacher is giving you a strong hint with this homework assignment.

Name: Anonymous 2008-06-10 8:10

>>6
This is not a homework assignment, I'm just a bad programmer.

>>5
Thank you sir.

Name: Anonymous 2008-06-10 8:49

>>7
Why, you're welcome, ma'am.

Name: Anonymous 2008-06-10 9:23

>>8
That page makes me wish I'd worked harder at math in school.

Name: Anonymous 2008-06-10 9:47

oh god /prog/ sucks so much lately

Name: Anonymous 2008-06-10 9:58

Pick up a book on algorithms faggot.

Name: Anonymous 2008-06-10 9:58

>>10
I bet you're the one posting the anus stuff.

Name: Anonymous 2008-06-10 10:19

>>12
I am not, you have my word. But I lol'd at the phrase ''anus stuff``.

Name: Anonymous 2008-06-10 10:47

>>10
Hmm, 4 LISP threads and a JAVA thread. Yep.

Name: Anonymous 2008-06-10 11:34

C

Name: Anonymous 2008-06-10 11:37

Is this the correct forum to discuss Sardinia?  I have booked some cheap flights there for next month, and a car. Which towns/cities would be best to visit? I am thinking of sticking to the north and heading across to Alghero and then back through Sedilo when the festival is on.

Name: Anonymous 2008-06-10 12:12

FAAIIIILLLLLLLLLLLLLLLLFYAIIIILRFAILLLLFIFA0ILFALIFALIFLAFILAFLILAFILAFLIFALIFALFILAFLIFAFIAFLIAFLFIALFILAFIALFILAFILAFILAFLIFALIFLAFLIAFLIFLAFLIAFLIFLAFLIAFLIAFLIAFLFLAIFLIAFLAIFLAIFLFLAILFAILFAILFLFIAFLAIFLAILFFLIAFLAILFIAFLIFALFIALFLIAFLIAFL

Name: Anonymous 2008-06-10 16:07

>>13
Did you juse use ``proper quotes'' the wrong way around? Did you even use Unix?

Name: Anonymous 2008-06-10 16:15

>>18
juse
Did you just use the word just incorrectly? Did you even go to school?

Name: Anonymous 2008-06-10 16:19

>>18
Aha! I have trolled someone with my inverted proper quotes, at last!

Name: Anonymous 2008-06-10 16:31

>>20
You mean 66faggot quotes99?

Name: Anonymous 2008-06-10 16:54

This thread is now about «faggot quotes».

Name: HMA FAN 2008-06-10 17:26

>>20
Great success, troll friend!

Name: Anonymous 2008-06-10 17:27

hax my anus quotes, what are they?

Name: Anonymous 2008-06-10 17:52

>>24
durrhax my anus quoteshurr

Name: Anonymous 2008-06-10 18:59

♀♀anus was haxed♂♂

Name: Anonymous 2008-06-10 19:08

¯§Anii were haxed§¯

Name: Anonymous 2008-06-10 19:13

卐卐Anuses were haxed卐卐

Name: Anonymous 2008-06-10 19:17

3suna ym xah¬

Name: Anonymous 2008-06-10 19:29

>>24-29
Here comes the anus stuff again.

Name: Anonymous 2008-06-10 21:38

>>30
     .
  . ,
   / ).
 .(_/ )
 (___/_) ?

Name: Anonymous 2008-06-10 21:47

>>31

     .
  . ,
   / ).
 .(_/ )
 (___/_), right ?

Name: Anonymous 2008-06-10 21:53

>>30-32
It's spelled "shite".

Name: Anonymous 2008-06-11 6:09

     .
   . ,
    / ).
  .(_/ )
  (___/_)
  8 . . 8
   \ o /
 .--'~'-._
 \  _    |
  \ \)(| |
  |\ \ | |
  ( Hm mH
   | (|) \
   \  \\ |
    \  | |
     | | |
     | | |
    (__.__.

Name: Anonymous 2009-07-12 6:06

east at two at sniffing You others east bad posters start bad out spamming i  Linux. I remember Fail Fail I for  Does hurt Yes, leave But good hurt it convinced for for that recommend? problem that ...

Name: Anonymous 2010-12-21 20:47

Name: Anonymous 2010-12-22 1:25

Name: Sgt.Kabukimanၬ 2012-05-24 5:59

All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy

Name: bampu pantsu 2012-05-29 3:46

bampu pantsu

Don't change these.
Name: Email:
Entire Thread Thread List