C # program to find maximum revenue by placing billboard on the highway with given constraints .
using System ; class GFG { static int maxRevenue ( int m , int [ ] x , int [ ] revenue , int n , int t ) {