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

Pages: 1-

sweet dubs

Name: Anonymous 2016-06-24 0:33

Name: Anonymous 2016-06-24 0:39

Check em

Name: Anonymous 2016-06-24 1:27

What programming language is this?

Name: Anonymous 2016-06-24 2:27

>>3
Slightly obfuscated Python 3 (or unnecessarily explicit Python 2).

How a non-retard (and non-LISPer) would write it:

'>>' + ','.join(str(x) for x in range(1, 1001) if x % 10 == x % 100 // 10)

Name: Anonymous 2016-06-24 2:53

>>4
faggot

Name: Anonymous 2016-06-24 3:00

>>5
The end of a smoked cigarette?

Name: Anonymous 2016-06-24 3:07

>>4
Don't FIOC me!

Name: Anonymous 2016-06-24 4:21

Name: Anonymous 2016-06-24 17:01

">>"++concat[show x++","|x<-[1..],mod x 10==mod(div x 10)10]

Name: Anonymous 2016-06-24 20:27

seq 1 1001 | grep '\(.\)\1$' | xargs echo '>>' | sed s/\ /,/g | sed s/,//

Name: Anonymous 2016-07-02 19:21

Name: Anonymous 2016-07-02 21:11

seq 1 1000 | egrep '([0-9])\1$'

Name: Anonymous 2016-07-02 21:26

>one division and two modulo operations
>dubs checking only needs two modulo operations

for (i <- 1 to 1000; if (i % 100) % 11 == 0) yield i

Name: Anonymous 2016-07-03 9:38

Check em

Name: Anonymous 2016-07-04 22:02

(format t ">>~A" (loop for i from 11 by 11 do (format t "~A," i)))

Name: Anonymous 2016-07-05 7:04

LITHPTHTH

Name: Anonymous 2016-07-05 21:36

Check em

Name: Anonymous 2016-07-05 22:25

>>17
Fuck you and all the faggots in this thread.

Name: Anonymous 2016-07-06 15:14

grep{/(.)\1$/}1..1000
Short and sweet.

Name: Anonymous 2016-07-21 1:36

(concatenate 'string ">>" (format nil "~{~A~^,~}" (loop for x from 11 to 1001 by 11 collecting x)))

Name: Anonymous 2016-07-21 1:41

(defun dubsp (n) (zerop (mod (mod n 100) 11)))

(concatenate 'string ">>" (format nil "~{~A~^,~}" (loop for x from 1 to 1001 when (dubsp x) collecting x)))

Name: Anonymous 2016-07-21 6:19

(this space left intentionally blank)

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