• 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
  • Career
  • Opportunities
    Find your next career challenge – powered by Qualified Jobs
  • 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
  • Log In
  • Sign Up
davazp Avatar
Name:David Vázquez
Clan:Unknown
Skills:lisp, python, javascript, mathematics
Member Since:Oct 2013
Last Seen:Dec 2020
Profiles:
Following:2
Followers:20
Allies:2
View Profile Badges
Ad
Promoted
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (600)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • MaryShodiya
    • commented on "Human readable duration format" kata

    Cool

  • Custom User Avatar
    • db556b
    • commented on "Human readable duration format" kata

    I really enjoyed this Kata! Thank you!

  • Custom User Avatar
    • DequinhaB
    • created a question for "Human readable duration format" kata

    C language: my code is running smoothly on the terminal, giving right results, but on kata, right on the second sample test I get the following error:

    Test Crashed Caught unexpected signal: SIGSEGV (11). Invalid memory access.

    Another interesting behaviour is that I passed 108 tests when I attempt, being 100/100 from "random tests" and 7/7 from "futher", and 1 sample.

    I'm probably messing up with dynamic memory allocation. But since it works on terminal, I don't know what is it.

  • Custom User Avatar
    • bshore
    • created a suggestion for "Human readable duration format" kata

    Updated Go Translation https://www.codewars.com/kumite/5e6da4bd3fcf600012e7d6e5?sel=6256551cea4e7f005779f740

  • Default User Avatar
    • arelfox
    • created a question for "Human readable duration format" kata

    I'm not sure if the solution is invalid or not, but after some manual computations, it shows that 6 of the larger basic tests are returning the wrong answer. All of the random tests pass.
    132030240 should equal 4 years, 67 days, 3 hours, 48 minutes and 56 seconds

  • Default User Avatar
    • Glinator
    • created a suggestion for "Human readable duration format" kata

    OCaml translation.

    Please review and approve, thanks !

  • Custom User Avatar
    • Blind4Basics
    • commented on "Human readable duration format" kata

    BigInt is node 10+ only

  • Custom User Avatar
    • azizbekMukhtorov
    • commented on "Human readable duration format" kata

    ReferenceError: BigInt is not defined
    at formatDuration
    at it
    at begin
    at it
    at describe
    at /runner/frameworks/javascript/cw-2.js:152:11
    at Promise._execute
    at Promise._resolveFromExecutor
    at new Promise
    at describe
    at /home/codewarrior/index.js:40:5
    at /home/codewarrior/index.js:51:5
    at Object.handleError

  • Default User Avatar
    • benjaminzwhite
    • commented on "Human readable duration format" kata

    Very cool kata, learnt a lot about string formatting; thanks.

    I'm still in awe at one of the user submitted solutions, which is basically 600 lines of code of full exhaustive case checking!

  • Default User Avatar
    • simskiff
    • commented on "Human readable duration format" kata

    sure, thanks

  • Custom User Avatar
    • akar-0
    • commented on "Human readable duration format" kata

    (deleted answer)

  • Default User Avatar
    • simskiff
    • commented on "Human readable duration format" kata

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • 077479
    • commented on "Human readable duration format" kata

    i would suggest to try to reverse the way you get to seconds from a year

  • Custom User Avatar
    • akar-0
    • commented on "Human readable duration format" kata

    The description is clear about which time divisions must be used. You just need to READ it, not just curse read and protest without thinking twice.

  • Default User Avatar
    • Bekker88
    • commented on "Human readable duration format" kata

    Plese, add a notion to the task description that months are not required in the result: only years, days and minutes.
    60 days != 2 months

  • Loading more items...
  • © 2022 Codewars
  • About
  • API
  • Announcements
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm

Collect: kata

Loading collection data...

Add To My Collections
    • View
      Remove Add
    You have not created any collections yet.

    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.

    You must wait until you have earned at least 20 honor before you can create new collections.

Set the name for your new collection. Remember, this is going to be visible by everyone so think of something that others will understand.

Create & Add New Collection