Skip to main content
Notice removed Reward existing answer by user
Bounty Ended with Seggan's answer chosen by user
Notice added Reward existing answer by user
Bounty Started worth 300 reputation by user
Commonmark migration
Source Link

Whilst trying to golf several of my answers, I've needed to write large integers in as few characters as possible.

Now I know the best way to do that: I'll be getting you to be writing this program.

#The challenge

The challenge

  • Write a program that when given a positive integer, outputs a program that prints it to stdout or equivalent.
  • The output programs don't have to be in the same language as the creator.
  • The output must be at most 128 bytes.
  • You may accept input from stdin or equivalent (not function input)
  • You may output the resulting program to stdout or equivalent.
  • The number output must be in decimal (base 10)

##Scoring

Scoring

Your score is equal to the smallest positive integer your program can not encode.

The entry with the largest score wins.

Whilst trying to golf several of my answers, I've needed to write large integers in as few characters as possible.

Now I know the best way to do that: I'll be getting you to be writing this program.

#The challenge

  • Write a program that when given a positive integer, outputs a program that prints it to stdout or equivalent.
  • The output programs don't have to be in the same language as the creator.
  • The output must be at most 128 bytes.
  • You may accept input from stdin or equivalent (not function input)
  • You may output the resulting program to stdout or equivalent.
  • The number output must be in decimal (base 10)

##Scoring

Your score is equal to the smallest positive integer your program can not encode.

The entry with the largest score wins.

Whilst trying to golf several of my answers, I've needed to write large integers in as few characters as possible.

Now I know the best way to do that: I'll be getting you to be writing this program.

The challenge

  • Write a program that when given a positive integer, outputs a program that prints it to stdout or equivalent.
  • The output programs don't have to be in the same language as the creator.
  • The output must be at most 128 bytes.
  • You may accept input from stdin or equivalent (not function input)
  • You may output the resulting program to stdout or equivalent.
  • The number output must be in decimal (base 10)

Scoring

Your score is equal to the smallest positive integer your program can not encode.

The entry with the largest score wins.

edited tags
Link
Blue
  • 28.6k
  • 8
  • 52
  • 100
add code generation tag
Link
Blue
  • 28.6k
  • 8
  • 52
  • 100
Tweeted twitter.com/#!/StackCodeGolf/status/643487240174366721
add addition rule that doesn't break current submissions
Source Link
Blue
  • 28.6k
  • 8
  • 52
  • 100
Loading
edited tags
Link
orlp
  • 39.2k
  • 7
  • 81
  • 195
Loading
deleted 2 characters in body; edited tags
Source Link
orlp
  • 39.2k
  • 7
  • 81
  • 195
Loading
edited tags
Link
Martin Ender
  • 197.2k
  • 67
  • 447
  • 975
Loading
Source Link
Blue
  • 28.6k
  • 8
  • 52
  • 100
Loading