I did that, and got correct results for the sample test cases, but still got WA. Is there some subtle thing that I've missed?
----------------
Update: ok, problem fixed. it's an int overflow mistake (what else is new)...
for whatever reason i stored the locations in an int array, while all other ...
Search found 4 matches
- Tue May 18, 2004 4:50 am
- Forum: Volume 106 (10600-10699)
- Topic: 10647 - Optimal House Placement
- Replies: 3
- Views: 2972
- Sat Jul 26, 2003 3:15 am
- Forum: Volume 103 (10300-10399)
- Topic: 10383 - Queen vs Rook
- Replies: 8
- Views: 4637
- Fri Jun 13, 2003 12:11 pm
- Forum: Volume 7 (700-799)
- Topic: 750 - 8 Queens Chess Problem
- Replies: 78
- Views: 38919
- Fri Jun 06, 2003 11:40 pm
- Forum: Volume 7 (700-799)
- Topic: 750 - 8 Queens Chess Problem
- Replies: 78
- Views: 38919