摘要:
用前缀和来求区间和,然后用一个二重循环穷举,但是因为问题规模为100000,所以超时(28分) 超时代码: #include <stdio.h> #include <memory.h> #include <math.h> #include <string> #include <string.h> # 阅读全文
posted @ 2018-02-21 11:31
TQCAI
阅读(266)
评论(0)
推荐(0)
摘要:
二分 阅读全文
posted @ 2018-02-21 10:47
TQCAI
阅读(168)
评论(0)
推荐(0)
摘要:
扩展欧几里得+完全背包 87分代码: #include <stdio.h> #include <memory.h> #include <math.h> #include <string> #include <string.h> #include <vector> #include <set> #in 阅读全文
posted @ 2018-02-21 09:39
TQCAI
阅读(321)
评论(0)
推荐(0)
摘要:
证明代码: 证明结果: 阅读全文
posted @ 2018-02-21 09:02
TQCAI
阅读(1888)
评论(0)
推荐(1)