• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
mdib Avatar
Name:Michel Henrique Dib Jorge
Clan:Nubank
Member Since:Aug 2015
Last Seen:Dec 2022
Profiles:
Following:34
Followers:41
Allies:34
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (21)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • mdib
    • commented on "6 By 6 Skyscrapers" kata
    • 6 years ago

    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?

  • Custom User Avatar
    • myjinxin2015
    • commented on "Exclamation marks series #4: Remove all exclamation marks from sentence but ensure a exclamation mark at the end of string" kata
    • 8 years ago

    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 ;-)

  • Custom User Avatar
    • myjinxin2015
    • commented on "Exclamation marks series #4: Remove all exclamation marks from sentence but ensure a exclamation mark at the end of string" kata
    • 8 years ago

    @betegelse,
    Please check your translation and fix the issue. thanks.

  • Custom User Avatar
    • Arigion
    • commented on "Exclamation marks series #4: Remove all exclamation marks from sentence but ensure a exclamation mark at the end of string" kata
    • 8 years ago

    Same here, still not working. Same error.

  • Custom User Avatar
    • myjinxin2015
    • commented on "Exclamation marks series #4: Remove all exclamation marks from sentence but ensure a exclamation mark at the end of string" kata
    • 9 years ago

    Who is the translator of clojure? Please check it. Thanks.

  • Custom User Avatar
    • mdib
    • commented on "Exclamation marks series #4: Remove all exclamation marks from sentence but ensure a exclamation mark at the end of string" kata
    • 9 years ago

    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)

  • Custom User Avatar
    • g964
    • commented on "Reducing by steps" kata
    • 9 years ago

    Thanks for letting me know!

  • Custom User Avatar
    • mdib
    • commented on "Reducing by steps" kata
    • 9 years ago

    It is fixed !

    Thank's a lot !
    :)

  • Custom User Avatar
    • g964
    • commented on "Reducing by steps" kata
    • 9 years ago

    @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.

  • Custom User Avatar
    • g964
    • commented on "Reducing by steps" kata
    • 9 years ago

    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!

  • Custom User Avatar
    • g964
    • commented on "Reducing by steps" kata
    • 9 years ago

    I think you could be right... Please could you post your solution (mark it as spoiler) so I can verify. Lots of thanks!

  • Custom User Avatar
    • niklasjansson
    • commented on "Reducing by steps" kata
    • 9 years ago

    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?

  • Custom User Avatar
    • gowikel
    • commented on "Reducing by steps" kata
    • 9 years ago

    I can't. It stucks when I attempt to submit my solution.

  • Custom User Avatar
    • g964
    • commented on "Reducing by steps" kata
    • 9 years ago

    You could print the input.

  • Custom User Avatar
    • gowikel
    • commented on "Reducing by steps" kata
    • 9 years ago

    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...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...