100 doors: Difference between revisions

Content deleted Content added
Added Uiua (syntaxhighlight lang="uiua" had some formatting issues)
m Updated Uiua to be more idiomatic
Line 14,074: Line 14,074:
=={{header|Uiua}}==
=={{header|Uiua}}==
<pre>
<pre>
◿2/+=0∵(◿:+1⇡100)+1⇡100
◿2/+=0⊞◿.+1⇡100
+1⇡100 # 1-100
+1⇡100 # 1-100
∵(◿:+1⇡100) # Mod each with 1-100
⊞◿. # Mod each with 1-100
=0 # Find where mod = 0, aka the divisors
=0 # Find where mod = 0, aka the divisors
/+ # Sum to get num of divisors
/+ # Sum to get num of divisors
◿2 # Num divisors is odd
◿2 # Num divisors is odd
</pre>
</pre>
{{out}}
{{out}}