Skip to main content
Commonmark migration
Source Link

#CJam, 10 programs, 1 byte

CJam, 10 programs, 1 byte

I thought I'd better add this right off the bat before someone else gets cheeky and does it :P

0

A CJam program with just a plain number outputs that number, so this is an easy way to get 10 programs that work, namely:

0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.

The next program : unsurprisingly does not output 10 but gives an "unfinished operator" error.

This undoubtedly works in many languages.

#CJam, 10 programs, 1 byte

I thought I'd better add this right off the bat before someone else gets cheeky and does it :P

0

A CJam program with just a plain number outputs that number, so this is an easy way to get 10 programs that work, namely:

0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.

The next program : unsurprisingly does not output 10 but gives an "unfinished operator" error.

This undoubtedly works in many languages.

CJam, 10 programs, 1 byte

I thought I'd better add this right off the bat before someone else gets cheeky and does it :P

0

A CJam program with just a plain number outputs that number, so this is an easy way to get 10 programs that work, namely:

0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.

The next program : unsurprisingly does not output 10 but gives an "unfinished operator" error.

This undoubtedly works in many languages.

yes, of course it's not just cjam silies
Source Link
Calvin's Hobbies
  • 90k
  • 46
  • 339
  • 555

#CJam, 10 programs, 1 byte

I thought I'd better add this right off the bat before someone else gets cheeky and does it :P

0

A CJam program with just a plain number outputs that number, so this is an easy way to get 10 programs that work, namely:

0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.

The next program : unsurprisingly does not output 10 but gives an "unfinished operator" error.

This undoubtedly works in many languages.

#CJam, 10 programs, 1 byte

I thought I'd better add this right off the bat before someone else gets cheeky and does it :P

0

A CJam program with just a plain number outputs that number, so this is an easy way to get 10 programs that work, namely:

0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.

The next program : unsurprisingly does not output 10 but gives an "unfinished operator" error.

#CJam, 10 programs, 1 byte

I thought I'd better add this right off the bat before someone else gets cheeky and does it :P

0

A CJam program with just a plain number outputs that number, so this is an easy way to get 10 programs that work, namely:

0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.

The next program : unsurprisingly does not output 10 but gives an "unfinished operator" error.

This undoubtedly works in many languages.

Source Link
Calvin's Hobbies
  • 90k
  • 46
  • 339
  • 555

#CJam, 10 programs, 1 byte

I thought I'd better add this right off the bat before someone else gets cheeky and does it :P

0

A CJam program with just a plain number outputs that number, so this is an easy way to get 10 programs that work, namely:

0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.

The next program : unsurprisingly does not output 10 but gives an "unfinished operator" error.