|
|
back to boardWA test 7 What's this test? Edited by author 28.10.2012 13:07 Re: WA test 7 Try this test: 5 1 1 1 1 1 Answer is 1 5 1 2 3 4 5 Numbers order in the last(after 5) doesn't metter Re: WA test 7 but if we add to team 1 2 3 4 hero#5 this team will be effective? Re: WA test 7 Posted by Bogatyr 30 Oct 2012 15:10 All teams that satisfy each member's demands are effective, the key to this problem is understanding the definition of "reliable." It took me several readings of the problem statement to get this clear. Re: WA test 7 Excuse me. I can't understand you. Can you answer my question? in test 5 1 1 1 1 1 team with heroes 1, 2, 3 and 4 is reliable? Re: WA test 7 Admins, please readjust wording to problem Posted by Bogatyr 31 Oct 2012 02:48 It appears the wording for the problem has changed. This was a badly worded problem to begin with, but now it is *incorrectly* worded! The original wording was something like: "an effective team is also reliable if there exists no superhero such that adding the superhero to the team results in an effective team." Basically, a "reliable" team is one that cannot be added on to (by exactly one superhero) to make another effective team. So no, in the case "5 / 1 / 1 / 1 / 1 / 1" , "1 2 3 4" is not reliable because there exists a superhero such that adding it on to the team makes another effective team. Edited by author 31.10.2012 03:05 Re: WA test 7 Admins, please readjust wording to problem Thank you very much! Re: WA test 7 Admins, please readjust wording to problem On this test: 5 1 1 1 1 1 My program gets Answer is 1 5 1 2 3 4 5 but I am still getting WA7. yet have any thoughts on this? |
|
|