Search found 3 matches
- Sun Jul 15, 2007 6:07 am
- Forum: Volume 112 (11200-11299)
- Topic: 11240 - Antimonotonicity
- Replies: 33
- Views: 16950
- Fri Jun 01, 2007 2:51 am
- Forum: Volume 110 (11000-11099)
- Topic: 11085 - Back to the 8-Queens
- Replies: 4
- Views: 6365
- Mon May 21, 2007 9:01 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11085 - Back to the 8-Queens
- Replies: 4
- Views: 6365
11085 - Back to the 8-Queens
I'm getting WA for this problem, but every test case that I came up with seemed to work fine. So I'm a bit stuck, as I don't see where the error is coming from.
for example:
1 7 4 6 8 2 5 3
Case 1: 0
1 7 2 6 3 5 8 4
Case 2: 1
1 1 1 1 1 1 1 1
Case 3: 7
1 2 3 4 5 6 7 8
Case 4: 7
for example:
1 7 4 6 8 2 5 3
Case 1: 0
1 7 2 6 3 5 8 4
Case 2: 1
1 1 1 1 1 1 1 1
Case 3: 7
1 2 3 4 5 6 7 8
Case 4: 7