上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 50 下一页
摘要: 题目链接:https://cn.vjudge.net/contest/159024#problem/C 阅读全文
posted @ 2017-04-17 17:47 yijiull 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://cn.vjudge.net/contest/159024#problem/B 暴力超时,用二分优化。。 阅读全文
posted @ 2017-04-17 16:38 yijiull 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=1542 又看到了几个月前做的题,感觉那时候就是个sb 也怪自己刚开始没搞清楚线段树,,瞎摸索 用连续线段树很好理解这个题,之前的代码稍微改了一下就好理解多了 1 #include<cstdio> 2 #i 阅读全文
posted @ 2017-04-16 21:13 yijiull 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=2586 还是要多练习,不够熟练。。 可以一看:http://blog.csdn.net/nameofcsdn/article/details/52230548 阅读全文
posted @ 2017-04-16 16:33 yijiull 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 题目连接:http://poj.org/problem?id=1470 被输入卡到死。。。。。。 开始也看到输入格式的问题了,但是我以为查询的两个点的格式就是(u v)这样,其它地方可以无限空格。。。 为这一直WA啊,以为是算法哪块写挂了,一直找。。。。。 其实哪都可能有一堆空格(其实题目说的也很清 阅读全文
posted @ 2017-04-16 00:09 yijiull 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=3183 阅读全文
posted @ 2017-04-15 22:34 yijiull 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 题目连接:http://poj.org/problem?id=3264 阅读全文
posted @ 2017-04-15 20:49 yijiull 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 题目连接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3954 开始以为是判断矩阵是否可逆,,然而不会。。 看了题解才知道想多了,把每一列看成一个整数,列变换不影响数值,只要两个状态数值相同即可。 阅读全文
posted @ 2017-04-15 16:27 yijiull 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 题目连接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3956 以为01背包会了,稍微变形一下就认不出了。。。。。 将c作为背包体积,h作为价值 背包容量最大为500*100 阅读全文
posted @ 2017-04-15 15:38 yijiull 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 题目连接:https://scut.online/problem.php?id=90 维护每个节点的最长和次长路 阅读全文
posted @ 2017-04-15 15:06 yijiull 阅读(146) 评论(0) 推荐(0) 编辑
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 50 下一页