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
manish3749:
2016-05-25 21:43:41
awesome prblm..solved in 25 minutes nly... 2(2)=2^2 |
|
ajay_5097:
2016-05-18 12:02:15
my 50th !! Just observe the Output carefully! |
|
umr55766:
2016-04-26 20:43:24
Really EASYPROB - A Very Easy Problem! :p :p :p :p :p :p :p :p :p :p :p :p |
|
darragh:
2016-03-23 17:27:27
This problem was fun to solve but I don't understand why it isn't rephrased to be more like a traditional problem where you submit source code. It could just be changed so you solve the problem for an arbitrary set of numbers. |
|
gurugs:
2016-02-27 15:39:18
dont do by hand...use recursion...which comes in hand |
|
rahul_verma:
2016-02-23 14:27:01
oh!!!! no ,too much WA due to an extra space ......... |
|
Bozidar:
2016-02-01 19:13:24
Make sure not to leave spaces in the output . |
|
abc_c:
2016-01-07 15:04:46
Very Easy
|
|
dokz:
2016-01-06 12:40:25
Solved in 450 bytes using Enumerable, LINQ and recursion in C#.
|
|
gulshan_raj:
2015-11-16 14:29:07
Great Problem! A must do. |
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. |