Saturday, June 4, 2016

C++ Solution to UVA 352 - The Seasonal War using 2D Array Depth First Search


Problem Link:
https://uva.onlinejudge.org/index.php?option=onlinejudge&page=show_problem&problem=288

Problem Explanation & Visalization:

TODO

Input & Output Explanation:

TODO

Input & Output:

Input:
6 100100 001010 000000 110000 111000 010100 8 01100101 01000001 00011000 00000010 11000011 10100010 10000001 01100000

Output:
Image number 1 contains 3 war eagles. Image number 2 contains 6 war eagles.

More input and output in udebug:
https://www.udebug.com/UVa/352

Code:


No comments: