Skip to main content
added 47 characters in body
Source Link
Jakube
  • 21.9k
  • 3
  • 27
  • 108

Pyth, 252111 ≈ 3.593 × 10266

Js[
"ixL-rC1`H``N"
N
s@L-rC1`H``NjQ252
N
"252")$import sys$$sys.stdout.buffer.write(J.encode('iso-8859-1'))$

Had to use a little bit of Python syntax, because Pyth's print can't print in iso-8859-1.

The number gets encoded in base 253252 and represent each digit in that base as an iso-8859-1 char. The chars \ and " would need escaping, and therefore are not used. Additionally a Pyth code cannot containThe char ` isn't used because golfing... And additionally the null-byte, which is also not used, the Pyth compiler forbids it.

The output is a program with an overhead of 17 bytes:

ixL-rC1`H``N""252

Here's an example usage with the biggest number possible:

Usage

Explanation

of the output program.

ixL-rC1`H``N""252
    rC1`H          create the range of chars: ['\x01', '\x02', ..., '{}']
         ``N       creates a string containing the 3 chars " ' \
   -               remove strings which consists of these 3 chars
 xL         ""     determine the index of each char in "" (encoded number)
i             252  convert from base 253 to base 10

Pyth, 252111 ≈ 3.593 × 10266

Js[
"ixL-rC1`H``N"
N
s@L-rC1`H``NjQ252
N
"252")$import sys$$sys.stdout.buffer.write(J.encode('iso-8859-1'))$

Had to use a little bit of Python syntax, because Pyth's print can't print in iso-8859-1.

The number gets encoded in base 253 and represent each digit in that base as an iso-8859-1 char. The chars \ and " would need escaping, and therefore are not used. Additionally a Pyth code cannot contain the null-byte, which is also not used.

The output is a program with an overhead of 17 bytes:

ixL-rC1`H``N""252

Here's an example usage with the biggest number possible:

Usage

Explanation

of the output program.

ixL-rC1`H``N""252
    rC1`H          create the range of chars: ['\x01', '\x02', ..., '{}']
         ``N       creates a string containing the 3 chars " ' \
   -               remove strings which consists of these 3 chars
 xL         ""     determine the index of each char in "" (encoded number)
i             252  convert from base 253 to base 10

Pyth, 252111 ≈ 3.593 × 10266

Js[
"ixL-rC1`H``N"
N
s@L-rC1`H``NjQ252
N
"252")$import sys$$sys.stdout.buffer.write(J.encode('iso-8859-1'))$

Had to use a little bit of Python syntax, because Pyth's print can't print in iso-8859-1.

The number gets encoded in base 252 and represent each digit in that base as an iso-8859-1 char. The chars \ and " would need escaping, and therefore are not used. The char ` isn't used because golfing... And additionally the null-byte is also not used, the Pyth compiler forbids it.

The output is a program with an overhead of 17 bytes:

ixL-rC1`H``N""252

Here's an example usage with the biggest number possible:

Usage

Explanation

of the output program.

ixL-rC1`H``N""252
    rC1`H          create the range of chars: ['\x01', '\x02', ..., '{}']
         ``N       creates a string containing the 3 chars " ' \
   -               remove strings which consists of these 3 chars
 xL         ""     determine the index of each char in "" (encoded number)
i             252  convert from base 253 to base 10
added 49 characters in body
Source Link
Jakube
  • 21.9k
  • 3
  • 27
  • 108

Pyth, 25325211011123.204593 × 10264266

Js[
"ixL--rC1`HN\\\\"rC1`H``N"
N
s@L--rC1`HN\\jQ253rC1`H``NjQ252
N
"253""252")$import sys$$sys.stdout.buffer.write(J.encode('iso-8859-1'))$

Had to use a little bit of Python syntax, because Pyth's print can't print in iso-8859-1.

The number gets encoded in base 253 and represent each digit in that base as an iso-8859-1 char. The chars \ and " would need escaping, and therefore are not used. Additionally a Pyth code cannot contain the null-byte, which is also not used.

The output is a program with an overhead of 1817 bytes:

ixL--rC1`HN\\""253rC1`H``N""252

Here's an example usage with the biggest number possible:

UsageUsage

Explanation

of the output program.

ixL--rC1`HN\\""253rC1`H``N""252
     rC1`H          create the range of chars: ['\x01', '\x02', ..., '{}']
    -     N``N       creates a string removecontaining '"'the 3 chars " ' \
   -       \\        remove '\\'strings which consists of these 3 chars
 xL          ""     determine the index of each char in "" (encoded number)
i              253252  convert from base 253 to base 10

Pyth, 2531102.204 × 10264

Js[
"ixL--rC1`HN\\\\"
N
s@L--rC1`HN\\jQ253
N
"253")$import sys$$sys.stdout.buffer.write(J.encode('iso-8859-1'))$

Had to use a little bit of Python syntax, because Pyth's print can't print in iso-8859-1.

The number gets encoded in base 253 and represent each digit in that base as an iso-8859-1 char. The chars \ and " would need escaping, and therefore are not used. Additionally a Pyth code cannot contain the null-byte, which is also not used.

The output is a program with an overhead of 18 bytes:

ixL--rC1`HN\\""253

Here's an example usage with the biggest number possible:

Usage

Explanation

of the output program.

ixL--rC1`HN\\""253
     rC1`H          create the range of chars: ['\x01', '\x02', ..., '{}']
    -     N         remove '"'
   -       \\       remove '\\'
 xL          ""     determine the index of each char in "" (encoded number)
i              253  convert from base 253 to base 10

Pyth, 2521113.593 × 10266

Js[
"ixL-rC1`H``N"
N
s@L-rC1`H``NjQ252
N
"252")$import sys$$sys.stdout.buffer.write(J.encode('iso-8859-1'))$

Had to use a little bit of Python syntax, because Pyth's print can't print in iso-8859-1.

The number gets encoded in base 253 and represent each digit in that base as an iso-8859-1 char. The chars \ and " would need escaping, and therefore are not used. Additionally a Pyth code cannot contain the null-byte, which is also not used.

The output is a program with an overhead of 17 bytes:

ixL-rC1`H``N""252

Here's an example usage with the biggest number possible:

Usage

Explanation

of the output program.

ixL-rC1`H``N""252
    rC1`H          create the range of chars: ['\x01', '\x02', ..., '{}']
         ``N       creates a string containing the 3 chars " ' \
   -               remove strings which consists of these 3 chars
 xL         ""     determine the index of each char in "" (encoded number)
i             252  convert from base 253 to base 10
added 5 characters in body
Source Link
Jakube
  • 21.9k
  • 3
  • 27
  • 108

Pyth, 253^110253110 ≈ 2.204 × 10264

Js[
"ixL--rC1`HN\\\\"
N
s@L--rC1`HN\\jQ253
N
"253")$import sys$$sys.stdout.buffer.write(J.encode('iso-8859-1'))$

Had to use a little bit of Python syntax, because Pyth's print can't print in iso-8859-1.

The number gets encoded in base 253 and represent each digit in that base as an iso-8859-1 char. The chars \ and " would need escaping, and therefore are not used. Additionally a Pyth code cannot contain the null-byte, which is also not used.

The output is a program with an overhead of 18 bytes:

ixL--rC1`HN\\""253

Here's an example usage with the biggest number possible:

Usage

Explanation:

... of the output program.

ixL--rC1`HN\\""253
     rC1`H          create the range of chars: ['\x01', '\x02', ..., '{}']
    -     N         remove '"'
   -       \\       remove '\\'
 xL          ""     determine the index of each char in "" (encoded number)
i              253  convert from base 253 to base 10

Pyth, 253^110 ≈ 2.204 × 10264

Js[
"ixL--rC1`HN\\\\"
N
s@L--rC1`HN\\jQ253
N
"253")$import sys$$sys.stdout.buffer.write(J.encode('iso-8859-1'))$

Had to use a little bit of Python syntax, because Pyth's print can't print in iso-8859-1.

The number gets encoded in base 253 and represent each digit in that base as an iso-8859-1 char. The chars \ and " would need escaping, and therefore are not used. Additionally a Pyth code cannot contain the null-byte, which is also not used.

The output is a program with an overhead of 18 bytes:

ixL--rC1`HN\\""253

Here's an example usage with the biggest number possible:

Usage

Explanation:

... of the output program.

ixL--rC1`HN\\""253
     rC1`H          create the range of chars: ['\x01', '\x02', ..., '{}']
    -     N         remove '"'
   -       \\       remove '\\'
 xL          ""     determine the index of each char in "" (encoded number)
i              253  convert from base 253 to base 10

Pyth, 253110 ≈ 2.204 × 10264

Js[
"ixL--rC1`HN\\\\"
N
s@L--rC1`HN\\jQ253
N
"253")$import sys$$sys.stdout.buffer.write(J.encode('iso-8859-1'))$

Had to use a little bit of Python syntax, because Pyth's print can't print in iso-8859-1.

The number gets encoded in base 253 and represent each digit in that base as an iso-8859-1 char. The chars \ and " would need escaping, and therefore are not used. Additionally a Pyth code cannot contain the null-byte, which is also not used.

The output is a program with an overhead of 18 bytes:

ixL--rC1`HN\\""253

Here's an example usage with the biggest number possible:

Usage

Explanation

of the output program.

ixL--rC1`HN\\""253
     rC1`H          create the range of chars: ['\x01', '\x02', ..., '{}']
    -     N         remove '"'
   -       \\       remove '\\'
 xL          ""     determine the index of each char in "" (encoded number)
i              253  convert from base 253 to base 10
Source Link
Jakube
  • 21.9k
  • 3
  • 27
  • 108
Loading