Activity for General Sebast1anâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #281599 |
Post edited: |
— | over 3 years ago |
Edit | Post #283347 |
Post edited: |
— | over 3 years ago |
Edit | Post #283347 | Initial revision | — | over 3 years ago |
Answer | — |
A: Getting perfect squares, differently [Python 3], 34 bytes x=0;y=1 while 1:x+=y;print(x);y+=2 Try it online! `1` is the `int` equivalent to `True`, which helps save bytes. (more) |
— | over 3 years ago |
Edit | Post #283342 |
Post edited: |
— | over 3 years ago |
Edit | Post #283342 |
Post edited: |
— | over 3 years ago |
Edit | Post #283128 |
Post edited: |
— | over 3 years ago |
Suggested Edit | Post #279790 |
Suggested edit: (more) |
helpful | over 3 years ago |
Suggested Edit | Post #279778 |
Suggested edit: (more) |
helpful | over 3 years ago |
Suggested Edit | Post #279820 |
Suggested edit: (more) |
declined | over 3 years ago |
Suggested Edit | Post #280092 |
Suggested edit: (more) |
helpful | over 3 years ago |
Suggested Edit | Post #279852 |
Suggested edit: (more) |
helpful | over 3 years ago |
Suggested Edit | Post #279322 |
Suggested edit: (more) |
declined | over 3 years ago |
Suggested Edit | Post #280858 |
Suggested edit: (more) |
helpful | over 3 years ago |
Suggested Edit | Post #280829 |
Suggested edit: (more) |
helpful | over 3 years ago |
Suggested Edit | Post #281457 |
Suggested edit: (more) |
declined | over 3 years ago |
Suggested Edit | Post #280761 |
Suggested edit: (more) |
helpful | over 3 years ago |
Suggested Edit | Post #281599 |
Suggested edit: (more) |
helpful | over 3 years ago |
Suggested Edit | Post #280740 |
Suggested edit: (more) |
helpful | over 3 years ago |
Suggested Edit | Post #279199 |
Suggested edit: (more) |
helpful | over 3 years ago |
Suggested Edit | Post #279601 |
Suggested edit: (more) |
helpful | over 3 years ago |
Edit | Post #280828 |
Post edited: |
— | over 3 years ago |
Edit | Post #280882 |
Post edited: |
— | over 3 years ago |
Suggested Edit | Post #282280 |
Suggested edit: (more) |
helpful | over 3 years ago |
Suggested Edit | Post #280882 |
Suggested edit: (more) |
helpful | over 3 years ago |
Suggested Edit | Post #282511 |
Suggested edit: (more) |
helpful | over 3 years ago |
Suggested Edit | Post #282497 |
Suggested edit: (more) |
helpful | over 3 years ago |
Suggested Edit | Post #280828 |
Suggested edit: (more) |
helpful | over 3 years ago |
Suggested Edit | Post #279414 |
Suggested edit: (more) |
declined | over 3 years ago |
Suggested Edit | Post #279233 |
Suggested edit: (more) |
helpful | over 3 years ago |
Suggested Edit | Post #283128 |
Suggested edit: (more) |
helpful | over 3 years ago |
Edit | Post #283341 |
Post edited: |
— | over 3 years ago |
Edit | Post #283341 |
Post edited: |
— | over 3 years ago |
Comment | Post #283341 |
@#53584 All outputs starting from `0` until it stops outputting. (more) |
— | over 3 years ago |
Edit | Post #283342 | Initial revision | — | over 3 years ago |
Answer | — |
A: Getting perfect squares, differently [C (clang)], 47 45 43 bytes i,j;main(){for(;printf("%i ",i-=j);j+=2);} Try it online! Golfed 2 bytes from inspiration of @Shaggy's answer. Golfed 2 bytes by @m90. (more) |
— | over 3 years ago |
Edit | Post #283341 |
Post edited: |
— | over 3 years ago |
Edit | Post #283341 | Initial revision | — | over 3 years ago |
Question | — |
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 validation. Things such as built-ins/functions related to these unusable methods can't be used e... (more) |
— | over 3 years ago |
Edit | Post #283231 |
Post edited: |
— | over 3 years ago |
Edit | Post #283231 |
Post edited: |
— | over 3 years ago |
Edit | Post #283337 |
Post edited: |
— | over 3 years ago |
Edit | Post #283231 |
Post edited: |
— | over 3 years ago |
Edit | Post #283337 |
Post edited: |
— | over 3 years ago |
Comment | Post #283337 |
@#53579 `()` has no numbers, returning `0`. `+/(+-)` is `1 / 1(1-1)` which means it's a divisibility by zero error. Thanks for that one. `(+-)/(+-)` is `0/0`, which in my form of understanding math, should be undefined, but for this challenge, let it return `0`. (more) |
— | over 3 years ago |
Edit | Post #282881 |
Post edited: |
— | over 3 years ago |
Edit | Post #282804 |
Post edited: |
— | over 3 years ago |
Edit | Post #282650 |
Post edited: |
— | over 3 years ago |
Edit | Post #282239 |
Post edited: |
— | over 3 years ago |
Edit | Post #283337 | Initial revision | — | over 3 years ago |