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.


hide comments
Maverick: 2015-05-30 00:02:34

!! forgot "x=" :)

Pradd: 2015-05-25 15:45:23

Write it in Code rather than doing by hand. The most satisfying recursive function I've ever created :D

ashoka: 2015-04-10 08:18:25

The "Submit solution" has only text format. Uploading code didn't work. Need to paste only the output (the 7 lines).

Justin Roberts: 2015-04-02 02:16:33

Count me in the crowd that forgot the "%d=" and got multiple WA for that mistake.

Ashutosh: 2015-03-05 19:49:45

really very easy just observe

deadbrain: 2014-12-19 18:38:28

Gud problem. Looks tough at the first look but is easy. Just understand the logic.

Rahul Jain: 2014-12-19 07:41:25

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
Kriti Joshi: 2014-12-10 18:14:02

Print your output in a .txt file and then submit.

Caesar Flickerman: 2014-12-03 12:12:20

Simple Problem!!! Just observe carefully

HITESH GARG: 2014-11-30 22:33:30

silly mistakes...caused me several WA....otherwise it was a piece of cake ;)


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.