摘要:
Let x and y be two strings over some finite alphabet A. We would like to transform x into y allowing only operations given below: Deletion: a letter i 阅读全文
摘要:
After winning gold and silver in IOI 2014, Akshat and Malvika want to have some fun. Now they are playing a game on a grid made of n horizontal and m 阅读全文
摘要:
The only difference between easy and hard versions is constraints. You are given nn segments on the coordinate axis OXOX. Segments can intersect, lie 阅读全文
摘要:
Given a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let's say the phone catalogue liste 阅读全文
摘要:
The only difference between easy and hard versions is the maximum value of n. You are given a positive integer number nn. You really love good numbers 阅读全文
摘要:
题意:给出n、c,表示有n层楼,等电梯需要c时间;给出两行数,每行有n-1个数,第一行stairs代表从1楼到每层楼走楼梯需要的时间第二行elevator代表从1楼到每层楼乘电梯需要的时间;需要注意的是,从电梯转电梯不需要等待时间,从楼梯转楼梯也不需要等待时间,但是从楼梯转电梯需要算上等待的时间 t 阅读全文
摘要:
一般搜索 注意:一般定义成void Books Exchange (easy version) CodeForces - 1249B2 The only difference between easy and hard versions is constraints. There are nn ki 阅读全文