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
Ashutosh: 2015-03-05 19:49:45

really very easy just observe

Akashdeep: 2014-12-29 20:25:45

my 50th on spoj ...feeling determined

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 ;)

mercury: 2014-11-05 14:51:14

yaa more intersting if use " input " xD

Smit2194: 2014-10-27 14:50:35

Good problem.... tricky one.... :)

mohmmad ali: 2014-10-25 13:17:18

dont code only submit text file of o/p

Last edit: 2014-10-25 19:29:05

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.