Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:wa到怕了...给后来人一些数据In Reply To:wa到怕了...给后来人一些数据 Posted by:zjx20 at 2008-09-05 15:58:56 > input: > > 11 > 5 2x^7+x^2+3x-9 > 0 -5x^7+x^3+1 > -3 5 > 3 9x^9+8x^8+7x^7+6x^6+5x^5+4x^4+3x^3+2x^2+x+1 > 2 6x^6-5x^5+4x^4-3x^3+2x^2-x+3 > 9 -3x^3+8x^2-9x+6 > 0 0 > -1 -x^2-x-1 > 1 x^2+x-9 > 3 x > -1 -3x^3-x^2 > > > > output: > > POLYNOMIAL 1 > 2x^7+x^2+3x-9 > 14x^6+2x+3 > 14(5)^6+2(5)+3 > 218750+10+3 > 218763 > POLYNOMIAL 2 > -5x^7+x^3+1 > -35x^6+3x^2 > -35(0)^6+3(0)^2 > 0+0 > 0 > POLYNOMIAL 3 > 5 > 0 > 0 > 0 > 0 > POLYNOMIAL 4 > 9x^9+8x^8+7x^7+6x^6+5x^5+4x^4+3x^3+2x^2+x+1 > 81x^8+64x^7+49x^6+36x^5+25x^4+16x^3+9x^2+4x+1 > 81(3)^8+64(3)^7+49(3)^6+36(3)^5+25(3)^4+16(3)^3+9(3)^2+4(3)+1 > 531441+139968+35721+8748+2025+432+81+12+1 > 718429 > POLYNOMIAL 5 > 6x^6-5x^5+4x^4-3x^3+2x^2-x+3 > 36x^5-25x^4+16x^3-9x^2+4x-1 > 36(2)^5-25(2)^4+16(2)^3-9(2)^2+4(2)-1 > 1152-400+128-36+8-1 > 851 > POLYNOMIAL 6 > -3x^3+8x^2-9x+6 > -9x^2+16x-9 > -9(9)^2+16(9)-9 > -729+144-9 > -594 > POLYNOMIAL 7 > 0 > 0 > 0 > 0 > 0 > POLYNOMIAL 8 > -x^2-x-1 > -2x-1 > -2(-1)-1 > 2-1 > 1 > POLYNOMIAL 9 > x^2+x-9 > 2x+1 > 2(1)+1 > 2+1 > 3 > POLYNOMIAL 10 > x > 1 > 1 > 1 > 1 > POLYNOMIAL 11 > -3x^3-x^2 > -9x^2-2x > -9(-1)^2-2(-1) > -9+2 > -7 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator