Polish notation | Sololearn: Learn to code for FREE!

0

Polish notation

Why doesn’t it work ? https://code.sololearn.com/c72AJsxkJ1gV/?ref=app

10/16/2021 9:00:02 PM

машик_кошик

2 Answers

New Answer

0

Leaving aside that the program is not freeing borrowed memory, that it's not cheking for any kind of erroneous input, the warnings, and the fact it uses ALG notation (not Polish); as long as you don't put spaces in the input it should work fine Can you show us an example where it doesn't work?

+1

I improve it. Now it works https://code.sololearn.com/cLA1gD7W5jj8/?ref=app