Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Challenges

Post History

60%
+1 −0
Challenges Getting perfect squares, differently

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...

7 answers  ·  posted 2y ago by General Sebast1an‭  ·  last activity 2y ago by General Sebast1an‭

#4: Post edited by user avatar General Sebast1an‭ · 2021-08-12T10:56:32Z (over 2 years ago)
  • 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 by user avatar General Sebast1an‭ · 2021-08-12T10:56:00Z (over 2 years ago)
  • 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!
#2: Post edited by user avatar General Sebast1an‭ · 2021-08-12T10:50:49Z (over 2 years ago)
  • Perfect squares, differently
  • Getting perfect squares, differently
#1: Initial revision by user avatar General Sebast1an‭ · 2021-08-12T10:50:35Z (over 2 years ago)
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!