12 2017 档案

Hanoi汉诺塔
摘要:#汉诺塔# 代码 #include <iostream> #include <stdio.h> using namespace std; //汉诺塔函数,参数,n剩余棋子数,prime棋子初始所在杆,help移动棋子需要借助的杆,target最终移动的目标杆 void hanoi(int n, ch 阅读全文

posted @ 2017-12-22 23:24 刘好念 阅读(3) 评论(0) 推荐(0) 编辑

Eight Queen
摘要:八皇后问题 代码 #include <iostream> #include <stdio.h> #include <string.h> #include <math.h> #include <cmath> using namespace std; int p[8][8]; // 棋盘数组 int c 阅读全文

posted @ 2017-12-19 21:46 刘好念 阅读(2) 评论(0) 推荐(0) 编辑

Oil Deposits
摘要:Oil Deposits 杭电OJ1241题目链接 Problem Description The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvCo 阅读全文

posted @ 2017-12-19 21:20 刘好念 阅读(3) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示