lol I was walking to the train station so I could get to school (which I am now at)
woah cool you use a train to get to school!
I just realized i dont have to use python!!! im so dumb
This was painful … atleast the way I did it
Figured the solution out.
First prize has been claimed by @not-ethan! Once second and third are claimed I’ll put the top three’s solutions in the post.
I wrote a script to write a solution
These challenges are fun… I might do my own challenge so I can get rid of some of my cycles
Submitted a new one. Hopefully, it’s valid.
sigh, im not going to get it, I give up. Someone else can take third place instead. ;-;
did it involve many + operators on a single line?
I had to write a script for to write it, meaning it had a lot of repetitive code
There are probably infinite solutions though
Matt is saying I am getting really close, but i honestly just want to scrap my work and attempts.
I’m curious now. If you’re okay with it, can you PM me your tries?
yeah, gimme a sec, i have to copy and paste them all
I was bored and made my own solution. I hope this won’t break any rules. The irony is that in JavaScript, everything is a data type, including functions. They are considered object types, making it challenging to avoid data types in JavaScript, given its prototype-based nature.
I attempted to do this with the most solid coding style possible. I generated the number one by using the built-in window
object and creating a reference to it in the nothing
variable. Then, I performed a bitwise operation to transform it into 1. That is the only complex part of this code, in my humble opinion.
Yeah Im late but better late than never.
Hexscript solid solution
const one = Math.exp(document.getElementById(String.toString()));
const ten = one + one + one + one + one + one + one + one + one + one;
const hundred = ten + ten + ten + ten + ten + ten + ten + ten + ten + ten;
const hundredEleven = hundred + ten + one;
const hundredFourteen = hundred + ten + one + one + one + one;
const hundredEight = hundred + one + one + one + one + one + one + one + one;
const seventyTwo = ten + ten + ten + ten + ten + ten + ten + one + one;
const oneHundredOne = hundred + one;
const eightySeven = ten + ten + ten + ten + ten + ten + ten + ten + one + one + one + one + one + one + one;
const fourtyFour = ten + ten + ten + ten + one + one + one + one;
const thirtyTwo = ten + ten + ten + one + one;
const thirtyThree = ten + ten + ten + one + one + one;
const c = console;
const o = String.fromCharCode(hundredEleven);
const r = String.fromCharCode(hundredFourteen);
const l = String.fromCharCode(hundredEight);
const d = String.fromCharCode(hundred);
const H = String.fromCharCode(seventyTwo);
const e = String.fromCharCode(oneHundredOne);
const W = String.fromCharCode(eightySeven);
const comma = String.fromCharCode(fourtyFour);
const space = String.fromCharCode(thirtyTwo);
const exclaim = String.fromCharCode(thirtyThree);
const str = H + e + l + l + o + comma + space + W + o + r + l + d + exclaim;
c.log(str);