ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1408. Polynomial Multiplication

Hello. help please ihave WA in the test # 12, give me test
Posted by CELO 19 Oct 2005 01:27
Re: Hello. help please ihave WA in the test # 12, give me test
Posted by Burunduk1 21 Oct 2005 19:37
I also had WA 12.
This test has heplped me:
- 0 * a ^ 2  * b   ^  2   -   1   *   c   ^   2  * d
  0   *   c   *   d   -   1   *   x   *  y
Answer:
c^2*d*x*y
Re: Hello. help please ihave WA in the test # 12, give me test
Posted by CELO 21 Oct 2005 22:09
Thank you for your test
but my code made it corret
if you have got another test please give me
Re: Hello. help please ihave WA in the test # 12, give me test
Posted by Nilrem 27 Feb 2006 02:43
What is #12 ?
I have same problem...
Re: Hello. help please ihave WA in the test # 12, give me test
Posted by Nilrem 3 Mar 2006 01:11
Please mail me...
Who know hat is #12 ?
nilrem@bk.ru
Re: Hello. help please ihave WA in the test # 12, give me test
Posted by GaLL[Tyumen SU] 3 Mar 2006 19:16
try theese tests:

000000000000000000000000000000000002
000000000000000000000000000000000002

4
-------------------------
a - b - c
a - b - c

a^2 - 2*a*b - 2*a*c + b^2 + 2*b*c + c^2
-------------------------
a^100*a^100    *  a^100
a^99*b^      00000000000000000000000000000000099

a^399*b^99
Re^2: Hello. help please ihave WA in the test # 12, give me test
Posted by Alexander Prudaev 21 May 2006 10:53
in the statement:"The other multipliers has a form of X^N or X, where X is a variable (small Latin letter), N – nonnegative integer that doesn’t exceed 100 (might be with the leading zeros)."

in my class N -unsigned char (0..255)
therefore my answer a^143*b^99

it's problem in statement.

now i must rewrite my hash function!