摘要:
咸鱼选手发现自己很久不做cf了,晚节不保。 A.Curriculum Vitae 枚举一下间断点的位置。 B. Math Show 枚举完成了哪些套装,然后剩下的贪心算就好。 老年选手晚节不保,一开始还以为尽量多做整套。 我是傻逼。 C. Four Segments 化简一下式子,然后就可以枚举了。 阅读全文
摘要:
#include const int N=120; const int M=5e4+5; const int inf=0x3f3f3f3f; using namespace std; char s1[N],s2[N]; int c[6],f[6][6],dis[M]; inline int Index(int *a){ int ans=0; for(int i=0;i=0;i--... 阅读全文