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-05-30 00:02:34 Maverick
!! forgot "x=" :)
2015-05-25 15:45:23 Pradd
Write it in Code rather than doing by hand. The most satisfying recursive function I've ever created :D
2015-04-10 08:18:25 ashoka
The "Submit solution" has only text format. Uploading code didn't work. Need to paste only the output (the 7 lines).
2015-04-02 02:16:33 Justin Roberts
Count me in the crowd that forgot the "%d=" and got multiple WA for that mistake.
2015-03-05 19:49:45 Ashutosh
really very easy just observe
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 ;)
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.