Friday, January 24, 2014

SPOJ 2178. He is offside!

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.

      DOWNLOAD THE FULL SOURCE CODE




No comments:

Post a Comment