![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
模拟
清泠,
慢慢成长的小白白,
展开
-
Parencoding 波吉-1068 (模拟)
题目链接 题目大意: 给予n,输入n个数,代表‘)’前有几个’(’ ,让求一个’)'中包含多少()。 eg: (())第一个)中包含一个(),第二个右括号 包含2个() 解题思路: 首先根据给定的)前有多少(求出字符串。 然后根据字符串求出每个)中括号包含多少()。 (代码注释) 代码: #include <iostream> #include <cstdio> #i...原创 2020-01-22 12:51:39 · 220 阅读 · 0 评论 -
C - Beautiful Regional Contest —— Codeforces Round #604 (Div. 2)
Description So the Beautiful Regional Contest (BeRC) has come to an end! n students took part in the contest. The final standings are already known: the participant in the i-th place solved pi pr...原创 2019-12-08 19:46:59 · 232 阅读 · 0 评论