• 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
semki Avatar
Name:Unknown
Clan:Unknown
Member Since:Apr 2022
Last Seen:Apr 2023
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (17)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • semki
      • commented on "Multiples of 3 or 5" kata
      • 3 years ago

      error CS0305: Using the generic type 'List' requires 1 type arguments.
      whats wrong? in visual studio work but here not

    • Custom User Avatar
      • ChichoZeDo
      • commented on "Find the total white and black areas in a strange chessboard" kata
      • 3 years ago

      Hi @bejaminzwhite. Thank you verymuch for yout hint!, it works, I could find the right solution. I have so little coding experience, so I was much focused on loops, packages,functions etc, but having the diagram on a piece of paper came many other ideas. I now know that many solutions of coding problems are actually not hidden behind a complex code, just as you say, it is like solving problems in real world. Great hint, Thanks

    • Custom User Avatar
      • benjaminzwhite
      • commented on "Find the total white and black areas in a strange chessboard" kata
      • 3 years ago

      Hi @ChichoZeDo - if you'd like a little hint: forget about coding/modules/packages/loops/etc. for now, and just think about how you could solve this problem in the real world - maybe if the board were printed on a piece of paper for example.

    • Custom User Avatar
      • benjaminzwhite
      • resolved a suggestion on "Find the total white and black areas in a strange chessboard" kata
      • 3 years ago

      Thanks! Approved, and noted for the change in description.

    • Custom User Avatar
      • walki
      • commented on "Find the total white and black areas in a strange chessboard" kata
      • 3 years ago

      There is a way to nest 2 loops to get it ro pass. There is a clue in the 40000 N test case set description.

    • Custom User Avatar
      • conconTheCoder
      • commented on "Find the total white and black areas in a strange chessboard" kata
      • 3 years ago

      maybe dont use loops at all - i tried to do it with one loop and it timed out

    • Custom User Avatar
      • akar-0
      • commented on "Find the total white and black areas in a strange chessboard" kata
      • 3 years ago

      Why couldn't you?

    • Custom User Avatar
      • amirymax
      • commented on "Find the total white and black areas in a strange chessboard" kata
      • 3 years ago

      can we use numpy?

    • Custom User Avatar
      • amirymax
      • commented on "Find the total white and black areas in a strange chessboard" kata
      • 3 years ago

      i got it, thanks a lot. Now im tryna solve problem with time out :)

    • Custom User Avatar
      • JohanWiltink
      • created a suggestion for "Find the total white and black areas in a strange chessboard" kata
      • 3 years ago

      LC translation

      This translation changes the description ( LC needs some extra information ).

    • Custom User Avatar
      • JohanWiltink
      • commented on "Find the total white and black areas in a strange chessboard" kata
      • 3 years ago

      Try reading other comments.

    • Custom User Avatar
      • ChichoZeDo
      • commented on "Find the total white and black areas in a strange chessboard" kata
      • 3 years ago

      Hi Akar-0, thank you for your advise. I have just little expirience in coding and so far I only found the solutions by using nested loops, but allof them are time out, could you share a hint?

    • Custom User Avatar
      • akar-0
      • commented on "Find the total white and black areas in a strange chessboard" kata
      • 3 years ago

      ìtertools.product does fundamentally the same as a nested loop. This won't work.

    • Custom User Avatar
      • ChichoZeDo
      • commented on "Find the total white and black areas in a strange chessboard" kata
      • 3 years ago

      Hi There!, I found a solution for this Kata using "product" from itertools package but it is also time out, please help!

    • Custom User Avatar
      • benjaminzwhite
      • commented on "Find the total white and black areas in a strange chessboard" kata
      • 3 years ago

      Hi @semki - the tests are designed to time out nested loops.

      You've made good progress - you've found a correct way to add up the areas. Now ask yourself, how can you improve it? Do you really need to perform ALL the calculations in your nested loops? Hopefully this will help you find an even better solution.

    • Loading more items...
    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...