#include <stdio.h>
void XXCross(short block[][8],short x, short y,short status){
for (short z=0;z<=7;z++){
block[z][y] = status;
block[x][z] = status;
if ((z+x)<=7 && (y+z)<=7)
block[x+z][y+z] = status;
if ((x-z)>=0 && (y-z)>=0 )
block[x-z][y-z] = status;
if ((x+z)<=7 && (y-z)>=0 )
block ...
Search found 2 matches
- Tue Aug 20, 2002 5:32 am
- Forum: Volume 7 (700-799)
- Topic: 750 - 8 Queens Chess Problem
- Replies: 78
- Views: 39010
- Tue Aug 20, 2002 4:43 am
- Forum: Volume 102 (10200-10299)
- Topic: 10221 - Satellites
- Replies: 34
- Views: 20337
10227 WA
Should anyone have some sample inputs and output..
Should I consider the angle greater than 360....
Should anyone replay me? Thanks
Should I consider the angle greater than 360....
Should anyone replay me? Thanks