Post History
Create a program that gets all perfect squares starting from 0 or 1 without using any methods of multiplication (repetitive addition) and exponentiation (repetitive multiplication). Output them for...
#4: Post edited
Create a program that gets all perfect squares starting from `0` or `1` without using any methods of multiplication (repetitive addition) and exponentiation (repetitive multiplication).- Things such as built-ins/functions related to these unusable methods can't be used either. `pow(x,y)` and `x**y` are examples of these unusable methods.
- A simple, yet tricky activity! Being <a class="badge is-tag">code-golf</a>, the shortest program in each programming language wins!
- Create a program that gets all perfect squares starting from `0` or `1` without using any methods of multiplication (repetitive addition) and exponentiation (repetitive multiplication). Output them for validation.
- Things such as built-ins/functions related to these unusable methods can't be used either. `pow(x,y)` and `x**y` are examples of these unusable methods.
- A simple, yet tricky activity! Being <a class="badge is-tag">code-golf</a>, the shortest program in each programming language wins!
#3: Post edited
Create a program that gets all perfect squares without using any methods of multiplication (repetitive addition) and exponentiation (repetitive multiplication).- Things such as built-ins/functions related to these unusable methods can't be used either. `pow(x,y)` and `x**y` are examples of these unusable methods.
- A simple, yet tricky activity! Being <a class="badge is-tag">code-golf</a>, the shortest program in each programming language wins!
- Create a program that gets all perfect squares starting from `0` or `1` without using any methods of multiplication (repetitive addition) and exponentiation (repetitive multiplication).
- Things such as built-ins/functions related to these unusable methods can't be used either. `pow(x,y)` and `x**y` are examples of these unusable methods.
- A simple, yet tricky activity! Being <a class="badge is-tag">code-golf</a>, the shortest program in each programming language wins!
#1: Initial revision
Perfect squares, differently
Create a program that gets all perfect squares without using any methods of multiplication (repetitive addition) and exponentiation (repetitive multiplication). Things such as built-ins/functions related to these unusable methods can't be used either. `pow(x,y)` and `x**y` are examples of these unusable methods. A simple, yet tricky activity! Being <a class="badge is-tag">code-golf</a>, the shortest program in each programming language wins!