V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Cielsky
V2EX  ›  问与答

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

  •  
  •   Cielsky · Jan 23, 2020 · 2245 views
    This topic created in 2296 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   ·   3260 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 14:02 · PVG 22:02 · LAX 07:02 · JFK 10:02
    ♥ Do have faith in what you're doing.