Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
ok
zbirsvihostalih = 0 for i=1, N do if i ~= myself then colors[i] = colors[i]-1 end end for i=1, N do if i ~= myself then zbirsvihostalih = zbirsvihostalih + colors[i] else zbirsvihostalih = zbirsvihostalih end end zbirsvihostalih = (zbirsvihostalih % 2) zbirsvih = 0 sol = raise(zbirsvihostalih) if myself == 1 then zbirsvih = (sol[2] + colors[2])%2 else zbirsvih = (sol[1] + colors[1])%2 end answer = (zbirsvih-zbirsvihostalih+2)%2 answer = answer+1
run
|
edit
|
history
|
help
0
Simple Lua primality test
finding volume of pyramids (for me, but feel free to use)
Percentage Calculator (Subscribe to Madflag19)
Linear Regression Lua
123
kraft1c
For your YouTube comment section. (updated)
5+5 == 10
anti.lua
ShSlotMachine_Data