Christian Schröder
5
5
Rank91
91
Badges51723
51723
Score
Christian Schröder submitted a Comment to Problem 2549. length of a vector "length" here refers to the number of elements - and yes, the problem description could be clearer.
on 20 Jan 2025 |
Christian Schröder submitted Solution 14526685 to Problem 60787. List the first of three consecutive square-free numbers on 18 Jan 2025 |
Christian Schröder submitted Solution 14525637 to Problem 1888. Get ranking of a combination on 16 Jan 2025 |
Christian Schröder submitted Solution 14525635 to Problem 1888. Get ranking of a combination on 16 Jan 2025 |
Christian Schröder submitted a Comment to Solution 14525620 I'm not sure why str2num is banned, BTW; I originally used it on line 10.
on 16 Jan 2025 |
Christian Schröder submitted Solution 14525620 to Problem 60786. Count the primes resulting from changing one digit of a number on 16 Jan 2025 |
Christian Schröder submitted a Comment to Problem 60786. Count the primes resulting from changing one digit of a number If you change the first digit of 73 from a 7 to a 0, you also get a prime - but here, we only consider primes with the same number of digits as the original number, correct?
on 16 Jan 2025 |
Christian Schröder submitted Solution 14523560 to Problem 60785. Solve an easy binary puzzle on 14 Jan 2025 |
Christian Schröder submitted a Comment to Problem 60784. Indicate how the Prague astronomical clock strikes the hours Apparently my solution "was marked as potential spam and was not posted", and will now be reviewed by administrators.
I wonder what triggered that - or whether Cody shouldn't have a "we're pretty sure this isn't a spammer" flag for established users, to be set by admins at their discretion or perhaps awarded based on problems solved, points earned or so.
on 6 Jan 2025 |
Christian Schröder submitted a Comment to Problem 221. Boolean algebra Thanks, Dyuman! It's working now — thanks to you and the entire Cody team for being on the case and tracking down and fixing this issue!
on 1 Jan 2025 |
Christian Schröder submitted Solution 14513350 to Problem 221. Boolean algebra on 1 Jan 2025 |
Christian Schröder submitted a Comment to Problem 60783. Convert integers from base 10 to proper primary notation @Chris Yes. If you add this requirement, then you can in fact drop the first one, and just write (say) this:
"Because integers can be expressed as sums (and differences) of primes in several ways, several primary notations for a number can exist. To ensure uniqueness, we require that when 1 is added to the factors of the primes, (so that 'p' is replaced with 2, 'x' with 1 and 'm' with 0 in the primary notation), the resulting decimal number is minimal.
For instance, 5 can be represented as pp, pxx and pxmm; since 22 is smaller than 211 or 2100, pp is the proper primary representation of 5. The number 12 can be represented as pxpp and ppxx; since 2122 is less than 2211, pxpp is the proper primary representation of 12."
on 1 Jan 2025 |
Christian Schröder submitted Solution 14512979 to Problem 60783. Convert integers from base 10 to proper primary notation on 1 Jan 2025 |
Christian Schröder submitted a Comment to Problem 60783. Convert integers from base 10 to proper primary notation And this also affects the test cases: -28734 and 153488 in particular, for which my WIP solution finds different proper primary notations, namely 'mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmpmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm' and 'ppppppppppppppppppppppppppppppppppppppppppppxpppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppmppppp' respectively.
on 1 Jan 2025 |
Christian Schröder submitted a Comment to Problem 60783. Convert integers from base 10 to proper primary notation > However, proper primary notation has the smallest number of digits. So, while 5 can be expressed as pp, pxx, and pxxm, the proper primary notation is pp.
I think this isn't enough to ensure uniqueness: 12 could be pxpp (7 + 3 + 2), or ppxx (7 + 5), for instance.
on 1 Jan 2025 |
Christian Schröder submitted Solution 14512869 to Problem 60782. Convert integers from primary notation to base 10 on 1 Jan 2025 |
Christian Schröder liked Problem 60780. Play Hocus Focus on 28 Dec 2024 |
Christian Schröder submitted Solution 14510011 to Problem 60781. Express integers in negabinary on 28 Dec 2024 |
Christian Schröder submitted Solution 14509924 to Problem 60781. Express integers in negabinary on 28 Dec 2024 |
Christian Schröder submitted Solution 14509920 to Problem 60781. Express integers in negabinary on 28 Dec 2024 |
Christian Schröder submitted Solution 14509910 to Problem 60780. Play Hocus Focus on 28 Dec 2024 |
Christian Schröder submitted Solution 14486969 to Problem 60778. Complete hydraulic geometry relations on 15 Dec 2024 |
Christian Schröder submitted Solution 14486956 to Problem 60776. EZ10 on 15 Dec 2024 |
Christian Schröder submitted Solution 14486954 to Problem 60775. EZ9 on 15 Dec 2024 |
Christian Schröder submitted Solution 14486953 to Problem 60774. EZ8 on 15 Dec 2024 |
Christian Schröder submitted Solution 14486952 to Problem 60773. EZ7 on 15 Dec 2024 |
Christian Schröder submitted a Comment to Problem 58019. Factor a number into Fermi-Dirac primes @Dyuman Here's my two cents:
256 = [256]. [4 64] is not valid since 64 is not a prime power where the exponent is a power of two. [16 16] is out since - I assume - you're supposed to simplify as much as possible. Same for [2 2 2 2 2 2 2 2], [4 4 4 4] and so on. But you're right that this additional requirement is needed to ensure uniqueness.
1024 = [4 256] using the same reasoning.
on 8 Dec 2024 |
Christian Schröder submitted a Comment to Solution 14440242 Always impressive to see someone else beat Tim's size.
on 6 Dec 2024 |
Christian Schröder submitted a Comment to Problem 221. Boolean algebra Hi Dyuman, thanks for being on the case! To answer your questions:
1. It's been happening on this problem and problem 1, which I tried submitting solutions to yesterday to work out where exactly the problem was. I got the error once, but ONLY once, on problem 1; on this problem, on the other hand, it has happened every single time. I've not tried to solve other problems recently.
2. Windows 11 (x64); I've tried both Firefox and Opera (the latter is based on Chrome). Same problem with both
3. I've not tried; too much to do at work right now to be able to sneak in Cody time...
on 2 Dec 2024 |
Christian Schröder submitted a Comment to Problem 221. Boolean algebra Whenever I try to submit a solution or use the scratch pad for testing, I get the message
The server is not available. Wait a few minutes, and then retry your request. If the problem persists, contact the instructor.
This happens regardless of what code is entered in the solution/scratch pad textareas, so I think it points to a Cody problem rather than a code problem.
on 2 Dec 2024 |
Christian Schröder submitted Solution 14416658 to Problem 1. Times 2 - START HERE on 1 Dec 2024 |
Christian Schröder submitted Solution 14416657 to Problem 1. Times 2 - START HERE on 1 Dec 2024 |
Christian Schröder submitted Solution 14416656 to Problem 1. Times 2 - START HERE on 1 Dec 2024 |
Christian Schröder received Divisible by x Master badge on 30 Nov 2024 |
Christian Schröder submitted Solution 14415545 to Problem 42510. Divisible by n, Composite Divisors on 30 Nov 2024 |
Christian Schröder submitted Solution 14415544 to Problem 42509. Divisible by n, Truncated-number Divisors on 30 Nov 2024 |
Christian Schröder submitted Solution 14415528 to Problem 42508. Divisible by n, prime divisors from 20 to 200 on 30 Nov 2024 |
Christian Schröder submitted Solution 14414694 to Problem 42455. Divisible by n, prime divisors - 11, 13, 17, & 19 on 29 Nov 2024 |
|
Christian Schröder submitted Solution 14409089 to Problem 60766. EZ on 26 Nov 2024 |
Christian Schröder submitted Solution 14409088 to Problem 60767. EZZ on 26 Nov 2024 |
Christian Schröder submitted Solution 14409086 to Problem 60769. EZ4 on 26 Nov 2024 |
Christian Schröder submitted Solution 14409085 to Problem 60770. EZ5 on 26 Nov 2024 |
Christian Schröder submitted Solution 14409083 to Problem 60771. EZ6 on 26 Nov 2024 |
Christian Schröder submitted Solution 14405735 to Problem 60765. Identify points inside a Reuleaux triangle on 24 Nov 2024 |
Christian Schröder submitted Solution 14404970 to Problem 60764. Determine whether a number is a Ludic prime on 23 Nov 2024 |
Christian Schröder submitted Solution 14390463 to Problem 60759. Sum along each diagonal of a matrix on 12 Nov 2024 |
Christian Schröder submitted a Comment to Solution 14384797 Cool, that's a nice way of side-stepping that issue!
on 11 Nov 2024 |
Christian Schröder submitted Solution 14389442 to Problem 60760. Find the closest canyon prime on 11 Nov 2024 |
Christian Schröder submitted a Comment to Solution 14382154 This isn't REALLY correct, of course, since it'll miss diagonals consisting entirely of zeros.
on 5 Nov 2024 |