随笔分类 -  哈希

摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1496题意:给出 a b c d 的值求出满足公式a*x1^2+b*x2^2+c*x3^2+d*x4^2=0的排列数思路:将公式化为a*x1^2+b*x2^2=-c*x3^2+-d*x4^2哈希求左式的值再哈希右式... 阅读全文
posted @ 2014-08-09 00:42 sola94 阅读(173) 评论(0) 推荐(0)