太子丶
愿你走出半生,归来仍为少年。
摘要: c++string sum(string s1,string s2) { if(s1.length()=0;i--,j--) { s1[i]=char(s1[i]+(j>=0?s2[j]-'0':0)); if(s1[i]-'0'>=10) { s1[i]=char((s1[i]-'0')%10+'0'... 阅读全文
posted @ 2017-04-15 18:56 太子丶 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 2016湖南省赛 G - Parenthesis (括号匹配) Bobo has a balanced parenthesis sequence P=p 1 p 2…p n of length n and q questions. The i-th question is whether P rem 阅读全文
posted @ 2017-04-15 17:26 太子丶 阅读(334) 评论(0) 推荐(0) 编辑