Activity for luap42
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #283274 | Initial revision | — | about 3 years ago |
Article | — |
A two player tic-tac-toe Your task is to develop a two player tic-tac-toe. The game rules: You have two players, one is called "X" and the other "O". You have a field of 3×3 positions; any position may be marked as "." (empty), "X" or "O". We start with every position being "." (empty). The player called "X"... (more) |
— | about 3 years ago |
Comment | Post #279231 |
@manassehkatz You're right. I added an extended rule saying that if you want to use this auto-output, you must include at least one of those command mode sequences. However if you don't want, you can assume that (for example) the `<?php` and `?>` tags are given and don't have to include them into the... (more) |
— | almost 4 years ago |
Edit | Post #279231 |
Post edited: |
— | almost 4 years ago |
Edit | Post #279231 | Initial revision | — | almost 4 years ago |
Article | — |
The Palindrome Challenge Your task is to write a program, which is palindromic. This means, that you can reverse it's source code and will get the exact same source code. I don't care, what your program does, as long as it does something visible to the user (like outputting something or creating a file) doesn't do a... (more) |
— | almost 4 years ago |
Edit | Post #279167 | Initial revision | — | almost 4 years ago |
Answer | — |
A: Evaluate a single variable polynomial equation Ruby, 50 bytes ```ruby def f(k,x)k.length>1?k[0]+f(k[1..-1],x)x:k[-1]end ``` Try it online! This uses the Horner's method recursively, because I think it'll be slightly shorter than using a loop or builtin array functions. Also, this is my first post on this website ... er my first real... (more) |
— | almost 4 years ago |
Edit | Post #279143 | Initial revision | — | almost 4 years ago |
Question | — |
Meet the Codidact Team! As we start on building a new community here together, we're bound to find some sticking points. Those might be bugs, new features you need, things you need support with... whatever they are, the Codidact team is here to support the growth of this site however we can. We'll keep tabs on how things... (more) |
— | almost 4 years ago |