摘要:
给定一个只包括 '(',')','{','}','[',']' 的字符串 s ,判断字符串是否有效。 有效字符串需满足: 左括号必须用相同类型的右括号闭合。 左括号必须以正确的顺序闭合。 示例 1: 输入:s = "()" 输出:true 示例 2: 输入:s = "()[]{}" 输出:true 阅读全文
posted @ 2022-04-21 22:05
Fancele
阅读(51)
评论(0)
推荐(0)
摘要:
一、bind的使用 template< class F, class T > std::binder1st<F> bind1st( const F& f, const T& x );//f是一个二元函数对象 template< class F, class T > std::binder2nd<F> 阅读全文
posted @ 2022-04-21 22:03
Fancele
阅读(83)
评论(0)
推荐(0)

浙公网安备 33010602011771号