Points |
Task |
3 |
Has a background image |
5 |
And it changes depending on the size of the number |
2 |
Has a change of color |
5 |
Prints the prime factorization |
5 |
And it's fast |
5 |
Tells if it's a perfect square |
1 |
Tells the square |
3 |
Prints a bar that many pixels long |
5 more |
Does it in the most efficient manner |
8 |
Prints the number as a series of icons |
number = The_Number_To_FactorWays to make this faster:
target = 2;
while (target < number)
if (number % target == 0)
print "Target is a factor"
number = number / target;
else
target = target + 1;