摘要:
好久没有记录生活中的点点滴滴了~ 最近天气一直保持阴天~ 比赛回来之后、感觉少了些拼劲、不过要继续学习新知识、为下次比赛充沛自己! 最近的生活很快乐、充实~O(∩_∩)O不知某某同学怎样~^_^ 貌似明天实验室聚餐额~ 明日考四级、四级复四级、四级何时过......... 阅读全文
摘要:
题意:给出一图,求跳出此图的步骤,若遇到环则不同输出。思路:dfs.题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1035View Code 1 #include <cstdio> 2 #include <cstring> 3 #include <cstdlib> 4 #include <cmath> 5 #include <string> 6 #include <algorithm> 7 #include <iostream> 8 using namespace 阅读全文
摘要:
题意:给定一个数,输出素数环。思路:dfs。题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1016View Code 1 #include <cstdio> 2 #include <cstring> 3 #include <cmath> 4 #include <string> 5 #include <algorithm> 6 #include <iostream> 7 using namespace std; 8 const int N=110; 9 10 bool prim 阅读全文