Here is tehe problem statement
http://www.spoj.com/problems/OFFSIDE/
This is another average implementation tasks. The constraints are low . Just find teh second maximum of the second array ,either by sorting or by using maxiumum finding algorithm 2 times and then compare that to all of the first array's elements.Check teh source code for more clarification.
http://www.spoj.com/problems/OFFSIDE/
This is another average implementation tasks. The constraints are low . Just find teh second maximum of the second array ,either by sorting or by using maxiumum finding algorithm 2 times and then compare that to all of the first array's elements.Check teh source code for more clarification.
No comments:
Post a Comment