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
Erben: 2012-01-19 15:40:14

Damn parentheses! They costed me 5 submissions :(

Kumar Harsh: 2011-10-31 11:41:13

DO it with programming... surely not the "easiest" one, and not as straightforward as you may assume...
but it was really fun doing it!

Santiago Palacio: 2011-06-01 06:38:06

I agree with randomguywithoutaname, it was fun!

Omar Simón Francisco Prieto Chacón - osfprieto: 2011-04-18 17:47:19

I don't understand, why 137 is equal to 2(2(2(2(0)))+2(2(0))+2(0))+2(2(2(0))+2(0))+2(0)?
just putting the numbers each one in a new line is not enough?

randomguywithoutaname: 2011-03-05 18:41:54

This was fun, and I found it easier to just write code to come up with the solution. It should be made into a coding problem!

:D: 2010-07-06 11:21:06

Re: Bharath Kumar M J: You should just post the anwser for this problem, not a program (that's what text input means).

Re: Vishal Vivek: compiling may be printed by the judge even when there's no compilation (like intepreted languages). And you're getting WA because you're anwser is wrong :).

Vishal Vivek: 2010-07-05 18:48:56

Why does it say 'compiling' when I submit it in 'TEXT' and say wrong answer?

:D: 2010-03-04 12:31:26

This is a special kind of problem where you paste only the solution, not the program that will generate or compute the solution.

nishaanth: 2010-01-31 10:02:36

be careful about balancing parantheses...it costed me 10 submissions.. :P

Smithers: 2009-08-10 23:02:45

Of course it is allowed to do this by hand, but coding it is much more fun!

Unrelatedly, I would have put:
137=2(2(2(2(0)))+2(2(0))+2(0))+2(2(2(0))+2(0))+2(0)
but maybe that's just me! :)


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.