It's UWAweek 47

help3001

This forum is provided to promote discussion amongst students enrolled in CITS3001 Advanced Algorithms.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Displaying selected article
Showing 1 of 202 articles.
Currently 15 other people reading this forum.


 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported

Login to reply

👍?
helpful
12:02pm Mon 2nd Sep, Andrew G.

"Quang Tran" [email protected] wrote:

For sample 2 from the pdf: 4 5 2 98.67 .S.1. .#4#. 32..5 The time taken for this maze to be solved is 15. As manually solving it, it only takes 14. S->9 = 1 9->8 = 2 8->7 = 4 7->6 = 5 6->5 = 7 5->4 = 9 4->3 = 11 3->2 = 12 2->1 = 14 I don't get into any issues with other samples but this only. Did I miss count it? The program written also display 14 on my machine.

You appear to have misread the problem statement in a couple of ways. Please read it again carefully and see if you can find the parts of the statement that make your solution invalid.

I will give you one as a hint, but there is another issue besides this: The question asks for the candies in increasing order, where the solution you give is decreasing.

But given something else you have done I think you have another rule you have missed that will be causing you issues.

If you can't figure it out and are still having issues report back or to one of the labs for help.

Cheers, Gozz

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy