Hash和枚举 解决POJ 1840
摘要:
DescriptionConsider equations having the following form:a1x13+ a2x23+ a3x33+ a4x43+ a5x53=0The coefficients are given integers from the interval [-50,50].It is consider a solution a system (x1, x2, x3, x4, x5) that verifies the equation, xi∈[-50,50], xi != 0, any i∈{1,2,3,4,5}.Determine how many sol 阅读全文
posted @ 2011-09-26 19:21 More study needed. 阅读(242) 评论(0) 推荐(1) 编辑