用 std::stack 查括号 👁️ 1 人浏览 💬 0 人评论 ❤️ 添加收藏 补全 ok:用 std::stack<char> 检查三种括号是否配平。检查 {[()]}。(本题用 g++ -std=c++17 -O0 编译。)
全部评论