• 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
thepyr Avatar
Name:Unknown
Clan:Unknown
Member Since:Nov 2013
Last Seen:Aug 2024
Profiles:
    Following:0
    Followers:4
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (134)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • NunoOliveira
      • resolved a suggestion on "Infix to Postfix Converter" kata
      • 7 months ago

      No, your proposed output goes against the specification.

    • Custom User Avatar
      • user7003854
      • created a suggestion for "Infix to Postfix Converter" kata
      • 7 months ago

      "5+(6-2)*9+3^(7-1)" => "562-9*+371-^+" should also accept "562-9*371-^++" no?

    • Custom User Avatar
      • delawer
      • commented on "Infix to Postfix Converter" kata
      • 10 months ago

      oh... its the fault of my inattention. Thank you very much

    • Custom User Avatar
      • NunoOliveira
      • commented on "Infix to Postfix Converter" kata
      • 10 months ago

      The operator ^ is right-associative:

      The operators used will be +, -, *, /, and ^ with left-associativity of all operators but ^.

    • Custom User Avatar
      • delawer
      • commented on "Infix to Postfix Converter" kata
      • 10 months ago

      why? when we convert infix to postfix form we save the sequence of operations, so infix 1^2^3 we convert to postfix 12^3^. This postfix form is correct, because when we convert it back to infix we have the initial sequence of operations: (1^2)^3. But postfix form in this kata turns into 1^(2^3), and whe lose the initial sequence of operations. Yes, the answer will be the same in both cases, but its illogical when from our postfix form we get infix form that is different from initial one

    • Custom User Avatar
      • NunoOliveira
      • resolved an issue on "Infix to Postfix Converter" kata
      • 10 months ago

      You're wrong.

    • Custom User Avatar
      • delawer
      • created an issue for "Infix to Postfix Converter" kata
      • 10 months ago

      i think postfix form of 1^2^3 is 12^3^ and it seems to be an issue in this kata

    • Custom User Avatar
      • ohjelmoija
      • commented on "Infix to Postfix Converter" kata
      • 11 months ago

      Ah, didn't need a reminder how much I was annoyed by this problem lol.

    • Custom User Avatar
      • womanDev
      • commented on "Infix to Postfix Converter" kata
      • 12 months ago

      In JS STDERR
      Max Buffer Size Reached (1.5 MiB) is called with each random test.

      Can somebody help me please,??

    • Custom User Avatar
      • Ubzugajir
      • commented on "Infix to Postfix Converter" kata
      • 13 months ago

      Not sure if the kata is worried about this, but I was able to pass the full test suite without catering for x^y^z. It approved code that returned an answer of xy^z^. However, I wrote the code to produce xyz^^ before submitting...

    • Custom User Avatar
      • Formula-9
      • created a suggestion for "Infix to Postfix Converter" kata
      • 2 years ago

      Lua translation open for review, feedback would be appreciated !

    • Custom User Avatar
      • PiatrouskiIM
      • resolved an issue on "Infix to Postfix Converter" kata
      • 2 years ago

      I found an error in my code. The resulting string contains an "end of line" character in the middle. It seems that how the result is printed is different from what is printed using the cout function.

    • Custom User Avatar
      • PiatrouskiIM
      • commented on "Infix to Postfix Converter" kata
      • 2 years ago

      Now the output is following:

      RESULT IS [275*+]
      Expected: equal to "275*+"
      Actual: "275*
      
    • Custom User Avatar
      • hobovsky
      • commented on "Infix to Postfix Converter" kata
      • 2 years ago

      To see where is your mistake, change your code to:

      ...
          auto out =  translate(full_expr);
          std::cout<<"RESULT IS ["<<out<<"]\n";
          return out;
      }
      
    • Custom User Avatar
      • akar-0
      • resolved a suggestion on "Infix to Postfix Converter" kata
      • 3 years ago

      This translation has been rejected because it had no random tests, the reference solution was incorrect, and the author has not reacted several months after it has been pointed out.

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...