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
|
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. |
|
Saurabh Kumar Singh:
2015-07-02 00:51:27
When u see the output format after a WA -_- Last edit: 2015-07-02 00:52:47 |
|
vasayashwanth:
2015-06-23 06:28:57
Hint : 2(0) refers to 2 power 0 (2^0) |
|
:.Mohib.::
2015-06-08 09:54:46
Enjoyed....nice prob... :) |
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. |