From c871b3b40ff173b7fa3ac03625f46930d770886e Mon Sep 17 00:00:00 2001 From: robbie-hatley Date: Mon, 29 Jan 2024 19:06:45 -0800 Subject: Fixed spacing error in 254-1. --- challenge-254/robbie-hatley/perl/ch-1.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/challenge-254/robbie-hatley/perl/ch-1.pl b/challenge-254/robbie-hatley/perl/ch-1.pl index e3165dde06..b409d14c7e 100755 --- a/challenge-254/robbie-hatley/perl/ch-1.pl +++ b/challenge-254/robbie-hatley/perl/ch-1.pl @@ -38,6 +38,7 @@ Output: false PROBLEM NOTES: First of all, I had to think hard whether "Three Power" means "x^3" or "3^x". But the latter would be "3 to the x power", whereas the former is "x to the 3 power", so I think "Three Power" means "x^3". + This is also corroborated by Example #2, which states that 0 is a "Three Power" because "0 = 0^3", not "0 = 3^0" which is false (3^0 = 1). So this problem boils down to "Given an integer x, does there exist an integer r such that r^3 = x?" -- cgit