摘要:
Problem Statement In the State of Takahashi in AtCoderian Federation, there are N cities, numbered 1,2,…,N. M bidirectional roads connect these cities 阅读全文
posted @ 2018-06-26 20:56
蒟蒻JHY
阅读(362)
评论(0)
推荐(0)
摘要:
题面在这里! (会考完之后休闲休闲2333) 可以发现,如果把一个串中"()"自动删除,最后剩的一定是形如"))))....))(((..((("这样的串,然后我们多加进去的括号的个数就是剩的这个串的长度。。 然鹅这个题首先要求的是最后总长度最小,并且我们可以观察发现把最后一个循环位移到最前面是会使 阅读全文
posted @ 2018-06-26 18:48
蒟蒻JHY
阅读(430)
评论(1)
推荐(0)

浙公网安备 33010602011771号