Thursday, 1 May 2014

SPOJ PROBLEM (CLASSICAL) 1: LIFE UNIVERSE

The problem is very simple.
No constraints problem whatsoever.
Simple integer se kaam chal jaye ga.
The basic approach is to not be confused that input is taken in an array.
The input & output are simuntaneous with each other.
Take single input & use accordingly loop condition.
& the problem is done!!!!!!!!!