上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 51 下一页
摘要: tarjan 父节点和子节点 阅读全文
posted @ 2018-08-24 23:54 congmingyige 阅读(160) 评论(0) 推荐(0)
摘要: http://codeforces.com/contest/1025/problem/D 树 dp 优化 f[x][y][0]=f[x][z][1] & f[z+1][y][0] ( gcd(a[x-1],a[z])<>0 ) f[x][y][1]=f[x][z][1] & f[z+1][y][0] 阅读全文
posted @ 2018-08-24 17:16 congmingyige 阅读(151) 评论(0) 推荐(0)
摘要: http://codeforces.com/contest/1023/problem/E 交互题 阅读全文
posted @ 2018-08-24 16:10 congmingyige 阅读(142) 评论(0) 推荐(0)
摘要: http://codeforces.com/contest/842/problem/C 树 dp 一个数的质因数有限,用set存储,去重 阅读全文
posted @ 2018-08-24 15:04 congmingyige 阅读(133) 评论(0) 推荐(0)
摘要: http://codeforces.com/contest/842/problem/D 树 二进制(路径,每个节点代表一位) 阅读全文
posted @ 2018-08-24 14:49 congmingyige 阅读(115) 评论(0) 推荐(0)
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 #include 12 #include 13 #include 14 #include ... 阅读全文
posted @ 2018-08-24 13:32 congmingyige 阅读(298) 评论(0) 推荐(0)
摘要: 后缀表达式 大整数(加法、乘法、gcd java) 阅读全文
posted @ 2018-08-24 10:50 congmingyige 阅读(131) 评论(0) 推荐(0)
摘要: https://nanti.jisuanke.com/t/19978 acm提交:类 Main 使用java:高精度 BigInteger 阅读全文
posted @ 2018-08-23 23:00 congmingyige 阅读(240) 评论(0) 推荐(0)
摘要: http://codeforces.com/contest/863/problem/E 注意细节 阅读全文
posted @ 2018-08-22 23:10 congmingyige 阅读(179) 评论(0) 推荐(0)
摘要: http://codeforces.com/contest/862/problem/D 交互题 fflush(stdout) 调试: 先行给出结果,函数代替输入 阅读全文
posted @ 2018-08-22 23:08 congmingyige 阅读(160) 评论(0) 推荐(0)
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 51 下一页