小墨在努力!!
吗了个b的。。。。。
摘要: 记忆化搜索。。。。。http://poj.org/problem?id=1579#include <stdio.h>#define max 32767int w[21][21][21];int funtion(int a ,int b ,int c){ if(a <= 0 || b <= 0 || c <= 0) return 1; else if(a > 20 || b > 20 || c > 20) { if(w[20][20][20] == max) w[20][20][20] = funtion(2... 阅读全文
posted @ 2012-02-11 10:41 小墨在努力!! 阅读(272) 评论(0) 推荐(0) 编辑