• 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
Metropolis Avatar
Name:Unknown
Clan:tarent
Member Since:Apr 2019
Last Seen:Dec 2024
Profiles:
Following:22
Followers:17
Allies:17
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (3)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • ejini战神
    • resolved a question on "Sums of Parts" kata
    • 4 years ago

    OP solved it, closing

  • Custom User Avatar
    • marek_a
    • commented on "Find the smallest integer in the array" kata
    • 5 years ago

    Within code block between braces { }, an instruction is expected. Expression a-b isn't an instruction. What may confuse you is, that a-b at compilation expands to { return a-b; }. So, in lambda expression you can use simplified notation a-b or full instruction { return a-b; }, but can't mix them.

  • Custom User Avatar
    • jaybruce1998
    • commented on "Index i?" kata
    • 6 years ago

    Thanks!

  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...