![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
水题
浮沉独步
这个作者很懒,什么都没留下…
展开
-
codeforces-Valera and Fruits
http://codeforces.com/contest/441/problem/B题目大一原创 2014-06-28 20:11:00 · 560 阅读 · 0 评论 -
uva 140 Bandwidth 带宽
题目大意:原创 2014-10-27 18:19:51 · 593 阅读 · 0 评论 -
HDU 5104 Primes Problem
比赛后原创 2014-11-16 16:21:21 · 725 阅读 · 0 评论 -
CF 551 B 水题
B. ZgukistringZtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputProfessor GukiZ doesn't accept string as th原创 2015-06-17 20:00:09 · 548 阅读 · 0 评论 -
POJ 3984 BFS 打印路径
Description定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0,};它表示一个迷宫,其中的1表示墙壁,0表示可以走的路,只能横着走或竖着走,不能斜着走,要求编程序找出从左上角到右下角的最短路线原创 2015-07-17 15:09:39 · 417 阅读 · 0 评论 -
BNUOJ 39423 暴力,DFS
最有的答案肯定是找到一些点的集合,这些点两两之间是朋友关系。考虑到n,m比较小,这样的集合最多只有14个点,暴力找点的集合先找出1 个点的集合,有n个这样的集合然后找出2个点的集合,找的时候要求编号比之前的大,这样就能保证不重不漏#include#include#include#include#include#include#include#include#原创 2015-08-26 15:14:09 · 610 阅读 · 0 评论