EASYPROB - A Very Easy Problem!

Input

There's no input.

Output

Output some form of these numbers: 137, 1315, 73, 136, 255, 1384, 16385, one per line in the listed order.

Example

The first two lines of the CORRECT output file are:

137=2(2(2)+2+2(0))+2(2+2(0))+2(0)
1315=2(2(2+2(0))+2)+2(2(2+2(0)))+2(2(2)+2(0))+2+2(0)

The correct output file should contain 7 lines.


Added by:Fudan University Problem Setters
Date:2007-07-13
Time limit:0.100s
Source limit:500B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:TEXT
Resource:You can imagine it.

hide comments
2016-05-25 21:43:41
awesome prblm..solved in 25 minutes nly... 2(2)=2^2
2016-05-18 12:02:15
my 50th !! Just observe the Output carefully!
2016-04-26 20:43:24
Really EASYPROB - A Very Easy Problem! :p :p :p :p :p :p :p :p :p :p :p :p
2016-03-23 17:27:27
This problem was fun to solve but I don't understand why it isn't rephrased to be more like a traditional problem where you submit source code. It could just be changed so you solve the problem for an arbitrary set of numbers.
2016-02-27 15:39:18
dont do by hand...use recursion...which comes in hand
2016-02-23 14:27:01 rahul_verma
oh!!!! no ,too much WA due to an extra space .........
2016-02-01 19:13:24 Bozidar
Make sure not to leave spaces in the output .
2016-01-07 15:04:46
Very Easy
Just watched the Solutions Given in Example for 2 hours!!
Solved it in just 10 minutes
2016-01-06 12:40:25
Solved in 450 bytes using Enumerable, LINQ and recursion in C#.
I thought I need to paste source code of size 500, and got WA at first :(
2015-11-16 14:29:07
Great Problem! A must do.
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.