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.
IMO the nicest way to solve this problem is by using logic programming. Can we add this lib: https://github.com/clojure/core.logic, to the clojure environment?
I don't know clojure, and I make some changes with it(the first line
(ns exclamation-mark)
-->(ns exclamation-mark.core)
).@mdib,@Arigion,
Please check if it's fixed. thanks ;-)
@betegelse,
Please check your translation and fix the issue. thanks.
Same here, still not working. Same error.
Who is the translator of clojure? Please check it. Thanks.
The clojure version does not work:
java.io.FileNotFoundException: Could not locate exclamation_mark/core__init.class or exclamation_mark/core.clj on classpath. Please check that namespaces with dashes use underscores in the Clojure file name., compiling:(null:1:1)
Thanks for letting me know!
It is fixed !
Thank's a lot !
:)
@niklasjansson : Seems fixed now. Thanks for your help that I mentioned in the solution!-)
The only problem remaining is that Clojure output mixes all the tests hierarchy:-(
@mdib : maybe you could try again.
Thanks for your post. I tried very quickly your code (it is very late for me this evening). I don't understand: your code as a "solution" doesn't always give the same result as your code in the "reference solutions" of the tests... So there is each time a test that fails! Maybe a problem when numbers are too big in a too long array. I will look to-morrow more deeply and I will notify you as soon as possible. Thanks once more!
I think you could be right... Please could you post your solution (mark it as spoiler) so I can verify. Lots of thanks!
I am pretty certain something is wrong. I'm doing the clojure version and am getting:
[53 83 54 -58 -20 56 57 10] as input to lcmu
my code generates:
[53 4399 237546 6888834 68888340 964436760 18324298440 18324298440]
but the test expects:
[53 4399 237546 6888834 68888340 964436760 18324298440 5722146280]
I can't see how this possibly could be correct?
I can't. It stucks when I attempt to submit my solution.
You could print the input.
I have the same problem, but with the test #120.
I have no idea of the inputs, I have no idea of the function that is being used.
Anyways, it is working with other test cases, so it is harder to find why it fails.
Edit: I did it on elixir.
Loading more items...