Cielsky
V2EX  ›  问与答

VSCode 使用 Code Runner 插件在自带终端运行结果不正确

  •  
  •   Cielsky · Jan 23, 2020 · 2267 views
    This topic created in 2304 days ago, the information mentioned may be changed or developed.

    代码是把中缀表达式转换为后缀表达式

    测试样例: 1+((2+3)*4)–5

    code runner 插件运行在自带终端中:1 2 3 + 4 * +

    F5 在系统 cmd 窗口运行结果:1 2 3 + 4 * + 5 - 这个是正确结果

    代码如下: https://paste.ubuntu.com/p/gpjXCGz5hg/ image.png

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2986 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 04:36 · PVG 12:36 · LAX 21:36 · JFK 00:36
    ♥ Do have faith in what you're doing.