Thread: Wonka Factory Password

  1. #61
    null pointer Structure's Avatar
    Join Date
    May 2019
    Posts
    191
    I have made some progress... I have found a few formulas that work for certain things but it is yet to be complete.
    "without goto we would be wtf'd"

  2. #62
    null pointer Structure's Avatar
    Join Date
    May 2019
    Posts
    191
    just a thought...

    pseudo:
    Code:
    t1 = currentTime; t2 = otherTime;
    p1 = currentPass; p2 = otherPass;
    
    if ( (t1 % 2) != 0 ) {
      t2 = ( (t1+1) / 2 ) ;
      p2 = ( p1 / 2 ) ;
    };
    "without goto we would be wtf'd"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 06-29-2014, 02:08 AM
  2. Replies: 2
    Last Post: 01-07-2009, 10:35 AM
  3. Question about the Factory pattern.
    By h3ro in forum C++ Programming
    Replies: 14
    Last Post: 11-27-2008, 04:55 PM
  4. Factory Functions HOWTO
    By GuardianDevil in forum Windows Programming
    Replies: 1
    Last Post: 05-01-2004, 01:41 PM
  5. Abstract Factory in C++
    By agrsaurabh in forum C++ Programming
    Replies: 1
    Last Post: 10-06-2003, 02:16 PM

Tags for this Thread