Skip to main content
edited body
Source Link

Python, Score \$7.503\cdot10^{59}\$

Note the numbers here are absolute nonsense, I hope most submissions will have a score that can be written in the title without needing scientific notation

5 byte solution:

413e7

10 byte solution

413e9+x**2413e7+x**2

20 byte solution

413e9+x**2413e7+x**2.46*4.321

40 byte solution

0*413e9+x**20*413e7+x**2.46*4.321+x**3.718232*8.3e9

80 byte solution

lambda x:0.010*413e9+x**2010*413e7+x**2.46*4.321+x**3.718232*8.3e9+__import__("math").sin(x/2)

Python, Score \$7.503\cdot10^{59}\$

Note the numbers here are absolute nonsense, I hope most submissions will have a score that can be written in the title without needing scientific notation

5 byte solution:

413e7

10 byte solution

413e9+x**2

20 byte solution

413e9+x**2.46*4.321

40 byte solution

0*413e9+x**2.46*4.321+x**3.718232*8.3e9

80 byte solution

lambda x:0.010*413e9+x**2.46*4.321+x**3.718232*8.3e9+__import__("math").sin(x/2)

Python, Score \$7.503\cdot10^{59}\$

Note the numbers here are absolute nonsense, I hope most submissions will have a score that can be written in the title without needing scientific notation

5 byte solution:

413e7

10 byte solution

413e7+x**2

20 byte solution

413e7+x**2.46*4.321

40 byte solution

0*413e7+x**2.46*4.321+x**3.718232*8.3e9

80 byte solution

lambda x:0.010*413e7+x**2.46*4.321+x**3.718232*8.3e9+__import__("math").sin(x/2)
edited body
Source Link

Your goal is, given a year between 19511952 and 2020 to output the world population in that year. However, you must write 5 different expressions. Each program must contain the previous as a substring.

Your goal is, given a year between 1951 and 2020 to output the world population in that year. However, you must write 5 different expressions. Each program must contain the previous as a substring.

Your goal is, given a year between 1952 and 2020 to output the world population in that year. However, you must write 5 different expressions. Each program must contain the previous as a substring.

added 162 characters in body
Source Link

Python, Score \$7.503\cdot10^{59}\$

Note the numbers here are absolute nonsense, I hope most submissions will have a score that can be written in the title without needing scientific notation

5 byte solution:

413e7

10 byte solution

413e9+x**2

20 byte solution

413e9+x**2.46*4.321

40 byte solution

0*413e9+x**2.46*4.321+x**3.718232*8.3e9

80 byte solution

lambda x:0.010*413e9+x**2.46*4.321+x**3.718232*8.3e9+__import__("math").sin(x/2)

Python, Score \$7.503\cdot10^{59}\$

5 byte solution:

413e7

10 byte solution

413e9+x**2

20 byte solution

413e9+x**2.46*4.321

40 byte solution

0*413e9+x**2.46*4.321+x**3.718232*8.3e9

80 byte solution

lambda x:0.010*413e9+x**2.46*4.321+x**3.718232*8.3e9+__import__("math").sin(x/2)

Python, Score \$7.503\cdot10^{59}\$

Note the numbers here are absolute nonsense, I hope most submissions will have a score that can be written in the title without needing scientific notation

5 byte solution:

413e7

10 byte solution

413e9+x**2

20 byte solution

413e9+x**2.46*4.321

40 byte solution

0*413e9+x**2.46*4.321+x**3.718232*8.3e9

80 byte solution

lambda x:0.010*413e9+x**2.46*4.321+x**3.718232*8.3e9+__import__("math").sin(x/2)
added 10 characters in body
Source Link
Loading
Source Link
Loading