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-08-10 20:58:04
my 50th!
silly mistakes...caused me several WA
2015-07-07 19:55:03 Vipul Sarin
AC on first go! Spent the whole day on it tho. Guess my recursion wasn't as good as I thought. This definitely helped. A great problem.
2015-07-02 00:51:27 Saurabh Kumar Singh
When u see the output format after a WA -_-

Last edit: 2015-07-02 00:52:47
2015-06-23 06:28:57
Hint : 2(0) refers to 2 power 0 (2^0)
2015-06-08 09:54:46 :.Mohib.:
Enjoyed....nice prob... :)
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-05-11 15:25:20 shubham pandey
easy one my 50th :)
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.
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.