here's something i came up with. try and check it out if the algorithm/code is ok. as always, there might be other and more efficient ways to solve the problem...
cheers...
eddie
Code:
import java.io.*;
import java.util.*;
public class PIXCEE2000 {
public static void main(String[] args) {
try {
//we
Leave a comment: