Sphere Online Judge

SPOJ Problem Set (classical)

1688. A Very Easy Problem!

Problem code: EASYPROB

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:[Trichromatic] XilinX
Date:2007-07-13
Time limit:1s
Source limit:500B
Languages:TEXT
Resource:You can imagine it.

hide comments
2010-07-06 13:21:06 :D
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 :).
2010-07-05 20:48:56 Vishal Vivek
Why does it say 'compiling' when I submit it in 'TEXT' and say wrong answer?
2010-06-21 09:39:57 Vijay S
good one
2010-03-04 13:31:26 :D
This is a special kind of problem where you paste only the solution, not the program that will generate or compute the solution.
2010-03-03 19:05:06 nigami
what is language "TEXT",is "C" not allowed???
2010-01-31 11:02:36 cenation
be careful about balancing parantheses...it costed me 10 submissions.. :P
2009-08-11 01:02:45 SmitherS
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! :)
2009-06-04 19:28:48 raghu
huh got fed up typing 2 0 ( ) +......:)
2009-05-01 07:57:36 **
 
'21 Lines of C++',That's enough. :)

Last edit: 2009-05-01 07:58:33
SPOJ System © 2010 Sphere Research Labs. All Rights Reserved.