The Last Poster Wins - Continued

No

1 Like

i want to win

1 Like

1 Like

Never is quite a long time… Almost as long as it takes to tell you about today’s sponsor, Raid shadow legends. With the link down below, you can play for free today.

1 Like

builder any%

2 Likes

Division with only addition in JavaScript. Spaghetti coded with no optimizations and all put on one line for some reason.

//Divison with only addition, and no normal loops (only functions using recursion)
  function divWithOnlyAdd(){function functInputMult(a,b){var c = d = 0;function loop(a,b,c,d){c = c + a;if (d == b-1){return c;} else {d = d + 1;return loop(a,b,c,d);}}return loop(a,b,c,d);}function functInputSub(a,b){return a + (-b)}function addLoop(a,b,c,d){c = c + b;if (c >= a){d = d + 1;return d;} else {d = d + 1;return addloop(a,b,c,d);}}function remainderCheck(remainder,numcount,b){if (remainder < 0){remainder = remainder + b;numcount = numcount + (-1);return remainderCheck(remainder,numcount,b);} else {return numcount + " " + remainder;}}var a = parseInt(prompt("Input Number 1")),b = parseInt(prompt("Input Number 2"));numcount = addLoop(a,b,0,0);remainder = functInputSub(a,functInputMult(b,numcount));rawCheckOutput = remainderCheck(remainder,numcount,b);numcount = rawCheckOutput.split(' ')[0],remainder = rawCheckOutput.split(' ')[1];return numcount +", Remainder "+ remainder;}
1 Like

funny-cat

1 Like

jmp $
times 510 - ($ - $$) db 0x00
db 0x55, 0xAA

1 Like

transparent-cat

1 Like

But can you do division with only division? That’s the real challenge.

1 Like

1 Like

:poop:

1 Like

borboletas-butterflies

1 Like

animblue

1 Like

mirror-ball-disco-ball

1 Like

24hdcg

1 Like

HA

1 Like

Type here. Use Markdown, BBCode, or HTML to format. Drag or paste images.

1 Like

strong text

1 Like

:pleading_face: :pleading_face: :1st_place_medal:

1 Like