|
|
back to boardSome questions Q1. A square can be rotated to some angle (for example, 30 degrees)? Q2. If answer to Q1 NO then: what wrong in my program: ----------------------------------------------------------- program Task; {$APPTYPE CONSOLE} { Task #1378 } var Matrix: array [1..1000,1..1000] of boolean; W, H: integer; i, j: integer; maxX, minX, maxY, minY: integer; S, p: longint; strin: string; begin { Some code :) } <-- it was deleted by me :) end. Edited by author 15.05.2006 21:40 Edited by author 17.05.2006 20:12 Some questions (I have WA7 with my code) Re: Some questions Of course, it can be rotated. Re: Some questions Of course, it can be rotated. Test: 9 9 000100000 001111000 001111110 011111111 111111111 111111110 011111100 000111100 000001000 Answer: square It's right? Edited by author 17.05.2006 20:14Re: Some questions Yes. (But in tests there are not so small pictures) Edited by author 16.05.2006 20:18 I got ACCEPTED Big thanks to all of you (Samsonov Alex [USU], Burunduk1), i got AC. I'll delete my code in first message. Edited by author 17.05.2006 20:13 |
|
|