All Your Base - GCJ 2009

First off, Welcome...and AYBABTU...I mean "All Your Base Are Belong To Us" :)And now...lets get serious:The problem listed below, is from the 'Round 1C' of Google Code Jam - 2009:Problem-------In A.D. 2100, aliens came to Earth. They wrote a...

» [Read More]

Alien Language - GCJ 2009

...Just finished the qualification round of 'Google Code Jam - 2009', passed through and just thought of posting this simple solution to the first problem, called 'Alien Language'. Here's the problem description:Problem Statement-----------------After years of study, scientists at Google Labs have discovered an...

» [Read More]

Google Code Jam 2008 - Minimum Scalar Product

Recently, I was just trying to solve some problems from GCJ - 2008 and started off with a problem, which looked pretty easy. This problem is from the 'Round 1 A' and is called 'Minimum Scalar Product'. The problem statement is as below:Problem-------You are...

» [Read More]

Richfaces - Modal Panel As A Wizard

Richfaces 'Modal Panel' component can be used to create a 'Dialog Box' or a 'Wizard' (or Wizard like behaviour), which is useful, when some part of the website/application has to ask for the input from the user, in steps. It can be customized, as per the requirements of that particular...

» [Read More]

Jasper Reports - Thermometer Report

Below is the code of 'ThermoBean', which holds the data for 'Thermometer Report':package com.chetty.reporting.beans;public class ThermoBean {private String title;private double value;private double rangeMin;private double rangeMax;private double firstSubRangeMin;private double firstSubRangeMax;private double secondSubRangeMin;private double secondSubRangeMax;private double thirdSubRangeMin;private...

» [Read More]