|
|
вернуться в форумWA on test #11 My algorithm is simple I read both lines. Then i count for r,g,b,y counts on every line. If they are equal(r=r1,g=g1,b=b1,y=y1) then i print equal. But on #11 test gives WA Re: WA on test #11 Algorithm is wrong, cuz if the first tetrahedron is "RGBY" and the second is "RGYB", then tetrahedrons are symmetrical but not equal (sorry for my bad english :) ) |
|
|