• 2024-03-31题解:AT_arc175_b [ARC175B] Parenthesis Arrangemen
    前言警示后人:字符串最大长度为\(65535\),会\(RE\)!!!\(10^7\)会爆栈!!!题意给出一个括号序列\(s\),有两种操作方式,交换两个字符需要花费\(A\),直接修改一个字符需要花费\(B\),求使这个序列合法需要的最小花费。分析我们可以先将\(s\)中能匹配的括号序列消除掉(即括号匹配
  • 2023-07-25ORA-00907: missing right parenthesis
    java.sql.SQLSyntaxErrorException:ORA-00907:missingrightparenthesis检查sql语句发现是缺失右括号andd.decl_code='S',) 括号前多加了一个逗号
  • 2023-07-10LWC 50:678. Valid Parenthesis String
    LWC50:678.ValidParenthesisString传送门:678.ValidParenthesisStringProblem:Givenastringcontainingonlythreetypesofcharacters:‘(‘,‘)’and‘*’,writeafunctiontocheckwhetherthisstringisvalid.Wedefinethevalidityofastringbythese
  • 2022-12-29Spagetti code and keyboard symbols
    Whatisspaghetticodeexactly?Spaghetticodeisthegeneraltermusedforanysourcecodethat’shardtounderstandbecauseithasnodefinedstructure.Whi
  • 2022-11-09CSU 1809 Parenthesis
    Description1 p2…pnai andpbiParenthesissequenceSisbalancedifandonlyif:Sisempty;orthereexists balanced parenthesi
  • 2022-10-26栈的使用以及括号匹配扩展
    678. ValidParenthesisStringMedium68824FavoriteShareGivenastringcontainingonlythreetypesofcharacters:'(',')'and'*',writeafunctiontocheckwhet