Fault in Challenge Problem of 2019-May-Long

Note:-I’m not sure if my claim is right.

Link to the problem:- CodeChef: Practical coding for everyone

There is a misprint in the problem-statement.

It states that:-
"Send operation will change B(a) by K/ R and will also change B(b) by K/ R. "

Which is wrong.

It should be mentioned that : -

“Send operation will change B(a) by K X R and will also change B(b) by K X R”

If this is not done, final balance will not be zero according to given sample i/o.

Only 3-days are left for the Long Challenge and I don’t know why no one mentioned this.

Please make the required changes/remove the challenge problem/extend the Long Challenge.



1 Like

Can you please review my code for 5th problem in division 2
Please let me know the test case where it is failed

@l_returns Always ask this guy. He’ll solve all your queries. Great guy​:heart_eyes::heart_eyes::heart_eyes:

1 Like

You may also ask Karan :slight_smile:

Hello , please let me know for which test case it is falling
Solution: 46363012 | CodeChef
My Algorithm:-
1)Nodecount Map contains the number of nodes under this
2)x_at_node it contains x value at each node
3)once x_at_node table populated, suming all x’s mod of1000000007