|
|
back to boardI 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 Thank you for your test but my code made it corret if you have got another test please give me What is #12 ? I have same problem... Please mail me... Who know hat is #12 ? nilrem@bk.ru 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 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! |
|
|