2017年3月16日

第二周周练

摘要: 中国(北方)大学生程序射击训练赛(第二周) 官方题解 A.Common Substrings 字符串hash进行比较。 #include <cstdio> #include <cstring> #include <iostream> #include <algorithm> using namesp 阅读全文

posted @ 2017-03-16 10:45 Psong 阅读(96) 评论(0) 推荐(0) 编辑

第一周周练

摘要: 中国(北方)大学生程序射击训练赛(第一周) 官方题解 A.Prufer序列 暴力枚举每一个点,删除改点后生成树计数,但1e8为什么不超时。 #include <cstdio> #include <cstring> #include <iostream> #include <algorithm> us 阅读全文

posted @ 2017-03-16 10:34 Psong 阅读(120) 评论(0) 推荐(0) 编辑

导航