Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
nice!
Hi,
I don't do rust myself, so I cannot tell. That test uses a macro, and this specific test is only closing the instance, without calling any other method (afaict...).
My solution doesn't rely on recusion, but after passing some tests (somewhere between 37 and 54) it panics with
Any idea why?
yeah, that one is the issue from years ago that is still opened. It's chemically incorrect, but considering the task, it's still doable (numerically/mathematically) without problems on user's side (as long as they stick to the task only)
edit: and numerically, it shoud have 0 H, so. But again, the molecule cannot exist, yeah.
ethenyne should have 2 H elements:
python:
Actually, can
en
andyn
even be on same bond position? Looks like you are having multiple bonds between same two atoms, which is very weird. These cases do not occur in javascript, and should also be stripped from other languages.Nevermind, that alkyl is optional. I found one last 'issue' before completing the kata.
The description states that arsines (and equivalents) have an alkyl prefix; however it can also be an aromatic cycle prefix, as this example shows from random tests:
triphenylarsine
Another random test:
However, the spec stipulates that the suffix pattern for ester is
alkyl " " alkan position "oate"
.I believe this is an invalid molecule according to your own specs.
EDIT: or is the alkyl part optional and this test case is
alkan position "oate"
?That's a cheat. Don't use that.
I found your objection here confusing until I thought about it.
Fundamentally, I agree. However, I think the underlying problem isn't the logic of planets leaving the system. That's a symptom. The problem is that the orbits change. As you note, if a planet leaves the system on the left, all other planets shift to fill lower orbits. However, if a planet is destroyed the same thing happens. The logic is consistent and solvable, but it's weird. There's a sort of extra movement built into it.
My biggest complaint, I think, is that the series didn't build upon itself. It would have been great if each new entry in the series added instead of being essentially the same with a different skin.
See above, I think the timing assessments are off by a factor of 10.
Yes, random tests Javascript
ffs, I thought I had fixed that... x/ Yes, it should be "propenoyl..."
random tests, I guess?
This one bothers me:
15-[1,2,2-triamino]propenanoyloxy-2,4,5,12-tetra[2-[[4,5,5-tribromo-1,4,6,7-tetrachloro]hept-2-enyl]arsino[1,2-diamino]ethenoxycarbonyl]hexen-3,5-diynylhexadec-10,13-diynoic acid
It has
propenanoyloxy
in it.This has both an alkene
en
and alkanean
suffix, before theoyloxy
.Yet, examples, such as
4-propanoyloxypentanoic acid
andprop-2-enoyloxy...
, never show this combination.How do you explain
propenanoyloxy
?an
as additional suffix or only in front ofoyloxy
?alk
, sometimesalkan
as prefix; What do you mean in these cases?got it, thanks!
js fork approved
Loading more items...