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
2015-03-05 19:49:45 Ashutosh
really very easy just observe
2014-12-29 20:25:45 Akashdeep
my 50th on spoj ...feeling determined
2014-12-19 18:38:28 deadbrain
Gud problem. Looks tough at the first look but is easy. Just understand the logic.
2014-12-19 07:41:25 Rahul Jain
Forgot to write 137=, 1315= etc. just wrote answers...gave me 3 WA's..lol... anyways interesting and short recursion :)

Last edit: 2014-12-19 07:45:03
2014-12-10 18:14:02 Kriti Joshi
Print your output in a .txt file and then submit.
2014-12-03 12:12:20 Caesar Flickerman
Simple Problem!!! Just observe carefully
2014-11-30 22:33:30 HITESH GARG
silly mistakes...caused me several WA....otherwise it was a piece of cake ;)
2014-11-05 14:51:14 mercury
yaa more intersting if use " input " xD
2014-10-27 14:50:35 Smit2194
Good problem.... tricky one.... :)
2014-10-25 13:17:18 mohmmad ali
dont code only submit text file of o/p

Last edit: 2014-10-25 19:29:05
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.