摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2612 题意:给出一个n*m的矩阵,' . ' 表示可以走的路, ' # '表示不能走的路 ,’ @'表示KCF, ‘Y' , 'M' 表示两个人开始的位置, 他们可以走到相邻的路,每走一步需要11分钟, 阅读全文
posted @ 2017-03-25 20:42 geloutingyu 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 using namespace std; 3 4 int &gg(int b[10], int a[10]){ 5 for(int i=0; i<10; i++){ 6 b[i]=a[i]; 7 } 8 } 9 10 int main(void){ 11 int b[10], a[10]; 12 f... 阅读全文
posted @ 2017-03-25 20:26 geloutingyu 阅读(125) 评论(0) 推荐(0) 编辑