代码改变世界

随笔档案-2012年3月13日

poj 3122 Pie--- 二分

2012-03-13 17:21 by java环境变量, 209 阅读, 收藏,
摘要: PieTime Limit:1000MSMemory Limit:65536KTotal Submissions:6264Accepted:2353Special JudgeDescriptionMy birthday is coming up and traditionally I'm serving pie. Not just one pie, no, I have a number N of them, of various tastes and of various sizes. F of my friends are coming to my party and each o 阅读全文

poj 1840 Eqs hash表 (vector)

2012-03-13 14:57 by java环境变量, 232 阅读, 收藏,
摘要: EqsTime Limit:5000MSMemory Limit:65536KTotal Submissions:7593Accepted:3711DescriptionConsider 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 th 阅读全文