Click here to Skip to main content
15,908,264 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
dbrenth24-Jan-17 7:37
dbrenth24-Jan-17 7:37 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Kornfeld Eliyahu Peter24-Jan-17 7:43
professionalKornfeld Eliyahu Peter24-Jan-17 7:43 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Member 1170549025-Jan-17 3:31
Member 1170549025-Jan-17 3:31 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Jochen Arndt24-Jan-17 7:23
professionalJochen Arndt24-Jan-17 7:23 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Kornfeld Eliyahu Peter24-Jan-17 7:29
professionalKornfeld Eliyahu Peter24-Jan-17 7:29 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Jochen Arndt24-Jan-17 7:46
professionalJochen Arndt24-Jan-17 7:46 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Kornfeld Eliyahu Peter24-Jan-17 7:49
professionalKornfeld Eliyahu Peter24-Jan-17 7:49 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Marc Clifton24-Jan-17 7:30
mvaMarc Clifton24-Jan-17 7:30 
Well, you've got 1-9, where all digits except 0 appear once.

Then you've got 10-19, where 1 occurs 11 times, every other digit, including 0 now, once.

Then you've got 20-29, where 2 occurs 11 times, etc.

by 90-99, we have all digits in count except 0 which lags by 10 (every digit occurs twice in each set of 10 except 0 which occurs once, so you've got 10 sets, so 0 lags by 10. (every other digit in the set x0-x9 occurs 11 times).

100 - 109 - Now 0 makes up for a lost digit, but loses out again in the 1n0-1n9 (where 10 > n > 0)

Ultimately, at 1000, 0 should still be the least frequent digit, and 1 gets a head start on everyone else.

I think I thought that through properly, but my brain is still fried mapping XML to bizarre property fields in strange class relationships that someone else wrote and where all the rules are embedded in the business logic for creating said entity containers. Sigh | :sigh:

Marc
V.A.P.O.R.ware - Visual Assisted Programming / Organizational Representation

Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

Artificial intelligence is the only remedy for natural stupidity. - CDP1802

GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Kornfeld Eliyahu Peter24-Jan-17 7:37
professionalKornfeld Eliyahu Peter24-Jan-17 7:37 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Member 1286378724-Jan-17 22:57
Member 1286378724-Jan-17 22:57 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Mark_Wallace24-Jan-17 7:36
Mark_Wallace24-Jan-17 7:36 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Kornfeld Eliyahu Peter24-Jan-17 7:38
professionalKornfeld Eliyahu Peter24-Jan-17 7:38 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Mark_Wallace24-Jan-17 7:42
Mark_Wallace24-Jan-17 7:42 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Kornfeld Eliyahu Peter24-Jan-17 7:43
professionalKornfeld Eliyahu Peter24-Jan-17 7:43 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Duncan Edwards Jones24-Jan-17 7:48
professionalDuncan Edwards Jones24-Jan-17 7:48 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Kornfeld Eliyahu Peter24-Jan-17 7:54
professionalKornfeld Eliyahu Peter24-Jan-17 7:54 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
#realJSOP24-Jan-17 8:04
professional#realJSOP24-Jan-17 8:04 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Kornfeld Eliyahu Peter24-Jan-17 8:07
professionalKornfeld Eliyahu Peter24-Jan-17 8:07 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
#realJSOP24-Jan-17 8:18
professional#realJSOP24-Jan-17 8:18 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Mark_Wallace24-Jan-17 8:35
Mark_Wallace24-Jan-17 8:35 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
OriginalGriff24-Jan-17 8:18
mveOriginalGriff24-Jan-17 8:18 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Kornfeld Eliyahu Peter24-Jan-17 8:23
professionalKornfeld Eliyahu Peter24-Jan-17 8:23 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Mark_Wallace24-Jan-17 8:40
Mark_Wallace24-Jan-17 8:40 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Munchies_Matt24-Jan-17 8:58
Munchies_Matt24-Jan-17 8:58 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
TheGreatAndPowerfulOz24-Jan-17 10:56
TheGreatAndPowerfulOz24-Jan-17 10:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.