摘要:
记忆化搜索。。。。。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... 阅读全文