Submit | All submissions | Best solutions | Back to list |
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.
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. |
hide comments
|
||||||||||||||
2023-10-22 18:33:45
Am I the only one whi didn't understand? |
||||||||||||||
2021-09-03 08:02:55 Dinesh R
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 |
||||||||||||||
2021-04-06 08:01:57
Awesome Recursion wow!! |
||||||||||||||
2021-04-03 15:25:57
LOL |
||||||||||||||
2020-03-20 17:16:26
Try to solve by recursion, and paste the output you get. Good practice of recursion |
||||||||||||||
2019-08-23 17:00:38
good recursion.AC in 1 go!!!! |
||||||||||||||
2018-10-12 19:45:07
brackets means power. you're welcome. |
||||||||||||||
2018-09-03 09:42:30 tanardi gunawan
ezpz 1 hit go laaaaaa acaaa |
||||||||||||||
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 |
||||||||||||||
2018-03-20 07:09:59
Really good problem to practice recursion. |