CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2012
    Posts
    58

    what``s the algo?

    Hi,

    Playing around with a couple of friends, doing riddles and stuff. Here`s one for you: What is the algo to these results from 0-255?
    It`s a honest question, i have no clue... :S

    http://pastebin.com/C7zBZGYA

    edit: oursourced the list...
    Last edited by tuli; December 1st, 2012 at 09:46 AM.

  2. #2
    Join Date
    Jan 2009
    Posts
    596

    Re: what``s the algo?

    Here's a hint - look at all the entries where the result (number on the right) changes from the previous line.

  3. #3
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    Re: what``s the algo?

    F(X) = int(Srt(X))

    And No i did not look it up...
    Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
    WPF Articles : 3D Animation 1 , 2 , 3
    Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
    Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
    All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.

  4. #4
    Join Date
    Jun 2012
    Posts
    58

    Re: what``s the algo?

    indeed thanks.

    in an attempt of saving my honour: i figured it out myself yesterday night.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured