• 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
akar-0 Avatar
Name:akar-0
Clan:COBOL team
Skills:none
Member Since:Aug 2020
Last Seen:May 2022
Profiles:
Following:40
Followers:85
Allies:10
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies
  • Authored (5612)
  • Needs Resolution
  • Custom User Avatar
    • akar-0
    • created a suggestion for "Group Repeating Fractions" kata

    Rust translation.

  • Custom User Avatar
    • akar-0
    • commented on "Classic Hello World" kata

    Probably some lag, the server needs time to get updated (I guess).

  • Custom User Avatar
    • akar-0
    • commented on "What's a Perfect Power anyway?" kata

    Done :)

  • Custom User Avatar
    • akar-0
    • commented on "What's a Perfect Power anyway?" kata

    Wait... I think I need to make much tougher tests for Rust... I'll update the fork and let you know.

  • Custom User Avatar
    • akar-0
    • commented on "What's a Perfect Power anyway?" kata

    Thanks, I realized afterward my tests were incorrect (any valid pair is a correct result, I checked strict equality with expected). I updated the translation after you approved it, for safety (lastly I experimented several problems where tests were not updated according to the last edit), can you approve this new fork? https://www.codewars.com/kumite/6287cc890b56c3003276cf54?sel=6287d094a3ef6e39c8066aaf

  • Custom User Avatar
    • akar-0
    • created a suggestion for "What's a Perfect Power anyway?" kata
    • Rust translation

    (author is inactive)

  • Custom User Avatar
    • akar-0
    • resolved an issue on "Triangular Treasure" kata

    No, the numbers are not too large: your solution is not efficient enough.

  • Custom User Avatar
    • akar-0
    • commented on "What's a Perfect Power anyway?" kata

    What is incorrect exactly according to you? Please note this kata has been solved more than 13,000 times so it's very unlikely tests are wrong, I think you just misunderstood the task.

  • Custom User Avatar
    • akar-0
    • commented on "Consecutive items" kata

    The description is very explicit about that.

  • Custom User Avatar
    • akar-0
    • created a suggestion for "Find the First Number in Having a Certain Number of Divisors I" kata

    Rust translation.

  • Custom User Avatar
    • akar-0
    • created a suggestion for "Surrounding Primes for a value" kata

    Rust translation

  • Custom User Avatar
    • akar-0
    • created a suggestion for "Sums of Parts" kata

    Go translation.

  • Custom User Avatar
    • akar-0
    • created a suggestion for "Sections" kata

    Go translation.

  • Custom User Avatar
    • akar-0
    • commented on "CamelCase Method" kata

    Then you don't need to bother yourself to post in Discourse, click next kata at the top right.

  • Custom User Avatar
    • akar-0
    • commented on ""Can you get the loop ?" Rust Translation"

    Hi. It seems there are at least two problems currently, the reference solution throws this:

    error[E0583]: file not found for module `preloaded`
      --> src/lib.rs:44:1
       |
    44 | mod preloaded;
       | ^^^^^^^^^^^^^^
       |
       = help: to create the module `preloaded`, create file "src/preloaded.rs"
    
    error[E0432]: unresolved import `preloaded::Node`
      --> src/lib.rs:45:5
       |
    45 | use preloaded::Node;
       |     ^^^^^^^^^^^^^^^ no `Node` in `preloaded`
    
    error[E0432]: unresolved import `crate::preloaded::Arena`
      --> src/lib.rs:67:9
       |
    67 |     use crate::preloaded::Arena;
       |         ^^^^^^^^^^^^^^^^^^^^^^^ no `Arena` in `preloaded`
    
    error[E0061]: this function takes 2 arguments but 1 argument was supplied
      --> src/lib.rs:91:29
       |
    91 |             let start = rng.gen_range(0..=5000) + 5000;
       |                             ^^^^^^^^^ -------- supplied 1 argument
       |                             |
       |                             expected 2 arguments
    
    error[E0061]: this function takes 2 arguments but 1 argument was supplied
      --> src/lib.rs:92:27
       |
    92 |             let end = rng.gen_range(0..=5000) + 5000;
       |                           ^^^^^^^^^ -------- supplied 1 argument
       |                           |
       |                           expected 2 arguments
    
    error: aborting due to 5 previous errors
    
    Some errors have detailed explanations: E0061, E0432, E0583.
    For more information about an error, try `rustc --explain E0061`.
    error: could not compile `qualified-rust`.
    
    
    NOTE: Line numbers in error messages can be incorrect due to concatenation.
    

    There is a problem with preloaded (I cannot help about that, I don't know how to use it in Rust).

    The bug related to rng.gen_range can be due to a problem with language updates. You should update the kata to Rust 1.60 and make some fixes.

  • 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