摘要:
time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output You are given a string s consisting only of c 阅读全文
摘要:
Merge sort is a well known sorting algorithm. The main function that sorts the elements of array a with indices from [l, r) can be implemented as foll 阅读全文
摘要:
Yet another round on DecoForces is coming! Grandpa Maks wanted to participate in it but someone has stolen his precious sofa! And how can one perform 阅读全文
摘要:
就是二分查找就够了,找到符合条件的那个最小值 不会二分可以去学一下,可以看看这个:https://www.cnblogs.com/wzl19981116/p/9354012.html include include include include include include include in 阅读全文
摘要:
就是括号匹配的题目,如果有交集就是NO include include include include include using namespace std; stack s; int a[200005]; int main() { int t,n,m,temp1,temp2,i; scanf(" 阅读全文
摘要:
就是dijkstra,只是他有很多个起点,那么我们只要用一个超级源点,让他到每一个七点的距离为0 include include include include include include include include include include define sf scanf defin 阅读全文