sorted by: new top controversial old
[-] [email protected] 1 points 2 months ago* (last edited 2 months ago)

That was my initial thought, but you can do add or sub by 2 (6 / 3) to get a non-multiple of 3. I had to double check and see that there were in fact values of i.e. x.5 within I think a difference of 64, can’t remember the exact values or their expressions.

[-] [email protected] 2 points 2 months ago* (last edited 2 months ago)

Factorials or something more than basic arithmetic (+exponents) is needed as I went ahead and programmatically checked every expression without parenthesis and the closest would always be 195. Interestingly, all values within a difference of 10 were multiples of 3.

A lost cause indeed.

[-] [email protected] 21 points 2 months ago

I’m now committed to getting this to work, but I’m not quite there.

(6^3) - 6 * 3 - 3 = 195 Beyond this, I’m quite lost on how this can be done with simple arithmetic.

[-] [email protected] 1 points 2 months ago

Kind of a knee-jerk reaction to it on my part, plus I’ve got personal bias against exceptions (errors as values my beloved). The worst thing is that thinking about this code has managed to take time I could’ve used being non-productive with my own projects smh.

[-] [email protected] 17 points 2 months ago

I’m even more disturbed by the try catch that will never catch anyway. Most disturbing is the absolute heresy that is the throw within the catch. …is vibe even defined here??? I think I need to reconsider my major.

42
creatrule (lemmy.blahaj.zone)
submitted 2 months ago by [email protected] to c/[email protected]

hummas

joined 8 months ago