Hi!
I've talked with Carlos via email/MSN and we were almost done fixing the problem with the input/output of this problem.
At first, he really agreeded that his solutions was wrong and proposed a correct solution for the problem, and convinced me that my solution was wrong.
I was really frustated, cause I thought my solution was ok, but changed my program and got AC with his help.
But I really think my original solution is the one that is correct, cause I've added some commands in the input/output of his solution to see the images generated in a PostScript viewer, and they differ!!! My solution's output generates the same drawing as the input, while his solution output generates a different drawing.
Trying to contact him by email/MSN again, I had no answer.
He told me that he was rejudging some solutions and some people is getting AC, but if my solution is correct, then I think these AC's will be rejudged to WA again
I'm posting this message here with the hope that responsble administrators read it and solve this problem definitely.
Bellow are the input/output he sent me telling the output is correct:
input:
Code: Select all
300 300 moveto
0 72 rlineto
0 0 rlineto
0 0 rmoveto
0 rotate
2 1 scale
36 0 rlineto
1 -4 scale
0 18 rlineto
1 -0.25 scale
0.5 1 scale
300 300 translate
90 rotate
0 0 moveto
0 72 rlineto
2 1 scale
36 0 rlineto
1 -4 scale
0 18 rlineto
300 300 moveto
0 72 rlineto
0 0 rlineto
0 0 rmoveto
0 rotate
2 1 scale
36 0 rlineto
1 -4 scale
0 18 rlineto
1 -0.25 scale
0.5 1 scale
300 300 translate
274 rotate
0 0 moveto
0 72 rlineto
2 1 scale
36 -0.1 rlineto
-1 4 scale
1 17.1 rlineto
-85.4 rotate
0 72 rlineto
2 1 scale
36 -0.1 rlineto
-1 4 scale
1 17.1 rlineto
*
output:
Code: Select all
300.000000 300.000000 moveto
0.000000 72.000000 rlineto
0.000000 0.000000 rlineto
0.000000 0.000000 rmoveto
72.000000 0.000000 rlineto
0.000000 -72.000000 rlineto
300.000000 300.000000 moveto
-72.000000 0.000000 rlineto
0.000000 72.000000 rlineto
72.000000 0.000000 rlineto
1500.000000 900.000000 moveto
288.000000 0.000000 rlineto
0.000000 0.000000 rlineto
0.000000 0.000000 rmoveto
0.000000 144.000000 rlineto
-288.000000 0.000000 rlineto
1500.000000 900.000000 moveto
20.089864 -287.298446 rlineto
143.621321 10.443958 rlineto
15.095115 -273.212550 rlineto
-1139.047351 -172.264716 rlineto
-41.484169 285.001094 rlineto
-1080.898701 -171.561531 rlineto
And here is my output:
Code: Select all
300 300 moveto
0 72 rlineto
0 0 rlineto
0 0 rmoveto
72 0 rlineto
0 -72 rlineto
300 300 moveto
-72 0 rlineto
0 72 rlineto
72 0 rlineto
1500 900 moveto
288 0 rlineto
0 0 rlineto
0 0 rmoveto
0 144 rlineto
-288 0 rlineto
1500 900 moveto
20.0898 143.649 rlineto
-287.326 9.84534 rlineto
27.0659 136.188 rlineto
579.191 26.0569 rlineto
-34.8231 -574.393 rlineto
551.176 40.7084 rlineto
If you have a PostScript viewer, add the following lines to the beginning of the file:
And these to the end:
Remember to delete the * in the end of the input....
To see the results and comprove my output is the same drawing as the input, and his output is different.
JP!