- 博客(6)
- 收藏
- 关注
原创 poj 1088 滑雪
POJ - 1088 Time Limit: 1000MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64u Submit Status Description Michael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必
2016-07-16 09:58:25 191
转载 next_permutation函数
(1) int 类型的next_permutation int main() { int a[3]; a[0]=1;a[1]=2;a[2]=3; do { cout } while (next_permutation(a,a+3)); //参数3指的是要进行排列的长度 //如果存在a之后的排列,就返回true。如果a是最后一个排列没有后继,返回false,每执行一次,a
2016-03-01 22:04:13 151
原创 Dungeon Master
Dungeon Master Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Description You are trapped in a 3D dungeon and need to find the quickest wa
2016-02-28 19:06:12 242
原创 Find The Multiple
Find The Multiple Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u Submit Status Description Given a positive integer n, write a program to find out a non
2016-02-27 14:37:43 143
原创 迷宫问题
迷宫问题Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0
2016-02-26 13:31:52 176
原创 Berland National Library
#include #include #include using namespace std; int main() { set s; int num=0; char c;int k,n; cin>>n; for(int i=0;in;i++) { cin>>c>>k;
2016-02-23 19:25:30 218
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人