the human will feel that they have accomplished something
he will feel also that he wasted his time to smt that can be done in a lot less time / can be automatically done
ββββββββββββββββββββββββββββββββββββββββββββββ
function CheckEvenOrOdd(x: Number?)
local val = math.mod(x, 2)
if val == 1 then
ifUnEven
elseif val == 0 then
ifEven
end
Just use the modulus operator
function isEven(n)
local count = 0
-- We have to make sure this algorithm runs in O(n) time, since
-- O(n) is the best run time possible!
for i = 1, n do
count = count + 1
end
return not ((count / 2) % 1 == 1/2)
end
/s
Why are you even doing this by the way?
Even better:
function IsEven(Number)return Number%2==0;end
Yes, I made it in 1 line, and 45 characters total
I made a very complex AI system that will be able to speed up your workflow - and it knows to not use the pesky % symbol! Thank me later:
-- Β© 2024 Very Complex AI Systemsβ’ Inc. All rights reserved.
-- m is minimum, n is maximum. you can go as far as you want by adjusting n, and pick up where you left off with m.
local text = ""
for i = m, n do
text = text .. "elseif number == " .. i .. "then"
if AIThinksNumberIsEven(number) then
text = text .. ifEven
else
text = text .. ifUnEven
(I made the very complex AI with my phone, thatβs why it doesnβt have the " " things)
How far will this handwritten advanced number system go, I wonder?
And how long will people keep taking the bait?
100th like, must say I do love this system and I will be using it for every game in the future
can we let this thread shrivel up and die already
its amazing seeing people respond every so often
@LotoNika posted this beauty and disappeared, wonder if theyβre still typing more lines into their handwritten advanced number system
me very close to 1 billion, give me time, thanks
Bro that would take like 95 years (according to chatgpt) Edit: if u worked 24 hours a day
Why are you trolling us broβ¦
>according to chatgpt
>Why are you trolling
bait used to be believable
oof! so even working 24 hours of the day costs a life time
You know, she could be creating an automated tool for it.
All you have to do is repeat the same line of code while incrementing, so why do it all yourself when you can create an algorithm that prints it for you!
Technically u also have to add support for decimals, and thats impossible since there are like inf amount
No?
You donβt have to technically add support for anything, it could be a bonus but if itβs not designed to work with decimals then so be it.