摘要: [模板]数据生成与对拍 不断完善中... 对拍 轻便装(比赛用) #include <bits/stdc++.h> using namespace std; const string file1 = ".exe"; const string file2 = ".exe"; const string 阅读全文
posted @ 2020-11-28 08:32 追梦人1024 阅读(210) 评论(0) 推荐(0)
摘要: P1494 [国家集训队]小Z的袜子 题目 传送门 思路 其实挺简单的一个莫队,直接把莫队模板的add(),earse()改改即可,另外用到一些组合数学,也不再赘述,详见代码 另外,还要注意最大数据可能超出int范围(分子(分母)最大值约为2.5*10^10),用unsigned int即可 代码 阅读全文
posted @ 2020-11-28 07:32 追梦人1024 阅读(60) 评论(0) 推荐(0)