- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 C++_(矩阵)快速幂
#include <iostream>#include <cstdio>using namespace std;const int MOD = 1000;int POW(long long &num);int times;long long N;int main(){ scanf("%d", ×); while(times--) { sca
2016-05-14 20:35:59 2323
原创 C++_FatMouse' Trade(贪心)
DescriptionFatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean. The warehouse has N rooms. The i-th room contains J[i] p
2016-05-14 20:25:04 752
原创 C++_DFS求连通度
DescriptionBenny has a spacious farm land to irrigate. The farm land is a rectangle, and is divided into a lot of samll squares. Water pipes are placed in these squares. Different square has a differen
2016-05-10 22:04:34 1145
原创 C++_BFS求最短路径
DescriptionAngel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M <= 200) matrix. There are WALLs, ROADs, and GUARDs in the prison.Angel’s friends wa
2016-05-09 21:39:37 3046
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人