Island Under Attack!

Problem Name:
Island Under Attack!
Site:Spoj
Links:
Tags:
Problem setters: