hi all
How to calculate this one. i mean after every number(not 0) equals Number+Number of Zeros in front of it.
For Ex: 3= 1+2 Zeros
4= 1+3 Zeros.
0
0
1
1
3
0
0
1
1
4
0
0
0
Thanks in Adv......
Number Calculation
Moderators: chulett, rschirm, roy
dssiddu - The second example makes it even more confusing than the first. "the number of zeroes before it" is not understandable as a rule since line 3 and line 4 both have 2 zeroes before. Could you explain the derivation logic in a bit more detail, please?
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The example and the text are incompatible. I would expect something like:
Code: Select all
Input: 11100111000110
Zeroes: 00000200000300
Output: 11100311000410
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Premium Member
- Posts: 1735
- Joined: Thu Mar 01, 2007 5:44 am
- Location: Troy, MI
dssiddu wrote:hi
nothing much
i/p : 11100111000110
O/p should be : 11300114000120
Here we add number of zeros in front of 1 and +1 to that . thats it. Hope it clear now..
Thanks a lot for u r replay
Ok, You have posted 3 examples with two meanings.
Can you please tell its the value of one cell or values are in different rows?
Priyadarshi Kunal
Genius may have its limitations, but stupidity is not thus handicapped.
Genius may have its limitations, but stupidity is not thus handicapped.