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
tejaswini_526: 2023-10-22 18:33:45

Am I the only one whi didn't understand?

Dinesh R: 2021-09-03 08:02:55

my python code gives correct output but how to submit in the text which file I need to submit, I have submitted the source code but spoj environment says the wrong answer.

Last edit: 2021-09-03 08:03:26
makhan_28: 2021-04-06 08:01:57

Awesome Recursion wow!!

anoopraj46: 2021-04-03 15:25:57

LOL

mrmajumder: 2020-03-20 17:16:26

Try to solve by recursion, and paste the output you get.
Good practice of recursion

almight: 2019-08-23 17:00:38

good recursion.AC in 1 go!!!!

r_ash: 2018-10-12 19:45:07

brackets means power. you're welcome.

tanardi gunawan: 2018-09-03 09:42:30

ezpz 1 hit go laaaaaa acaaa

jyotiradityafc: 2018-07-01 17:33:16

a very good problem on recursion but be careful as you have to submit SOLUTION TEXT file & not any code file

Last edit: 2018-07-01 20:16:20
zephyr_96: 2018-03-20 07:09:59

Really good problem to practice recursion.


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.