Pink Poogle Toy Forum

The official community of Pink Poogle Toy
Main Site
NeoDex
It is currently Tue Nov 19, 2024 11:16 pm

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 15 posts ] 
Author Message
 Post subject: Lenny Conundrum 183
PostPosted: Thu Sep 14, 2006 6:10 am 
PPT Trainee
PPT Trainee

Posts: 549
Joined: Wed Jun 22, 2005 2:07 pm
Location: Huntington, NY
Gender: Male
The Conundrum Lenny wrote:
A wise old Kougra has a puzzle for you:

Image

"Suppose each letter is worth a certain number of points: A = 1 point, B = 2, C = 3, and so on. Then, make all vowels negative."

"Now, I'm thinking of three different pets. Each has a number of points based on the letters in the name of their species, and they are all different species. If the total number of points for all three is 203, what are the three pets?"

At this point, you ask the Kougra, "What about the letter Y? Isn't it sometimes considered a vowel?"

The Kougra looks at you. "Y DOES NOT WORK THAT WAY!" he bellows. "Err, sorry for that outburst. Just assume that it isn't a vowel. Oh! And I forgot to mention that the first letter in the species name should have double points."

What are the three pets the Kougra is thinking of? Please submit your answer by putting all three pet names in alphabetical order, with no spaces or punctuation between the names. For example, if the answer was Ixi, Lupe, and Chia, you would submit the answer "chiaixilupe".


I hit two problems:
  • There's more than one way to interpret "the first letter in the species name should have double points".
  • Regardless of which way it should be interpreted, I have more than one answer either way.


In my rush, I sent in the first answer that checked, but all my other answers checked too. :(


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 14, 2006 1:20 pm 
PPT Toddler
PPT Toddler
User avatar

Posts: 201
Joined: Mon Jun 07, 2004 5:46 pm
Location: In Front of computer, trying to escape
I don't understand what the second interpretation is - but I got two answers regardless, PM me if you want to compare notes...


Image


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 14, 2006 2:13 pm 
Way Beyond Godly
Way Beyond Godly
User avatar

Posts: 8891
Joined: Sat Apr 22, 2006 2:32 pm
Location: Georgia
Gender: Female
I figured they meant, "Double the value of the first letter (whether it be a negative vowel or consonant)," sort of a "capital letter bonus"; that is, if that letter appeared again in the name, it would only count once since it wasn't the first letter. And I only got one solution; of course, I didn't dally to see if there were others -- I just double-checked my math and submitted. I found a number of solutions that were 1-3 letters off. I made an excel sheet with the points for each letter (writing the vowels as negative). Then I put the pet names and scores in a column and sorted by score. I grayed out any pets that had the same scores since I figured there would only be one unique solution. Then I just started adding combinations; when I got numbers that were close, I looked for other pets that might have similar scores.

The scores for my 3 pets were 66, 31, and 106. I contemplated whether that was too much info to post, but I've decided to post it. The top 250 is long gone, and people will still have to add up the scores for a bunch of pets until they find ones that add up to those scores. I've taken some of the math out for them, but there's still significant work left to be done.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 14, 2006 5:04 pm 
PPT Trainee
PPT Trainee
User avatar

Posts: 749
Joined: Mon May 31, 2004 9:14 am
aah... I reread this, and yep it kinda make different interpretation
Quote:
the first letter in the species name

it could be K from Krawk
or
K, R, A, W from krawk

but yea... they said in instead of of... so perhaps the 2nd one is correct


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 14, 2006 5:07 pm 
PPT Toddler
PPT Toddler
User avatar

Posts: 201
Joined: Mon Jun 07, 2004 5:46 pm
Location: In Front of computer, trying to escape
That is how I interpreted it as well - ie. Kiko would be 11+11-9+11-15.

The numbers you got are not the numbers I got - I got 106, 56, 41 and one of those numbers had 2 possible pets that could make it...

interesting that you came up with a totally different solution...


Image


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 14, 2006 6:07 pm 
PPT Student
PPT Student
User avatar

Posts: 319
Joined: Thu Sep 22, 2005 11:07 am
I probably made a mistake in my math, but I found 20 combinations of three names that work -- and exactly ONE combination that doesn't contain a Y in it anywhere. It does contain a W, though. o_O


"I can't make heads or tails of this."


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 14, 2006 8:02 pm 
Way Beyond Godly
Way Beyond Godly
User avatar

Posts: 8891
Joined: Sat Apr 22, 2006 2:32 pm
Location: Georgia
Gender: Female
gabriellaeve wrote:
The numbers you got are not the numbers I got - I got 106, 56, 41 and one of those numbers had 2 possible pets that could make it...

interesting that you came up with a totally different solution...


Hmm, I found the 56, but I never found one that equals 41. Do you want to confirm each other's math by PM? I assumed the TNT member in charge of the LC wrote a program to calculate all possible combinations, then picked a number that had only one (maybe 2) possible solutions... At least that's what I would have done. If there really are 20 possible answers, they're going to have many answer strings to compare... I guess it wouldn't be that hard, but it's a little sloppy.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 14, 2006 9:06 pm 
PPT Trainee
PPT Trainee

Posts: 549
Joined: Wed Jun 22, 2005 2:07 pm
Location: Huntington, NY
Gender: Male
Here are the two interpretations:

- Double the first letter of the species name once, the first time it appears
- Double the first letter of the species name every time it appears in the name

However, I have at least two different solutions where none of the species repeat their first letter anywhere in their name (so they work for both interpretations).

I have a program that does it, and I have...
- 20 answers for the first interpretation
- 25 for the second


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 17, 2006 4:44 am 
Newbie
Newbie
User avatar

Posts: 16
Joined: Sun Sep 10, 2006 7:03 pm
Location: Florida
prehaps its wants the first 3 names that come alphabetically?


Drugs have taught an entire generation of American kids the metric system.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 17, 2006 10:57 pm 
PPT Toddler
PPT Toddler
User avatar

Posts: 105
Joined: Fri Sep 15, 2006 12:05 pm
*scratches head* uhhhhh.... me donno *smiles dumbly*


Image Image Image Image Image


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 20, 2006 6:31 pm 
Newbie
Newbie
User avatar

Posts: 16
Joined: Sun Sep 10, 2006 7:03 pm
Location: Florida
Congratulations! You have guessed correctly in the Lenny Conundrum game (round 183). You have won 617 NP!


Drugs have taught an entire generation of American kids the metric system.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 20, 2006 8:38 pm 
Way Beyond Godly
Way Beyond Godly
User avatar

Posts: 8891
Joined: Sat Apr 22, 2006 2:32 pm
Location: Georgia
Gender: Female
I also got it right (and first 250). My answer was jetsamtechotuskaninny.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 20, 2006 9:23 pm 
PPT Trainee
PPT Trainee

Posts: 549
Joined: Wed Jun 22, 2005 2:07 pm
Location: Huntington, NY
Gender: Male
I got it right too - but my answer was cybunnygrarrlmynci .

Code:
/**
 * Produces solutions for Lenny Conundrum 183, using two different interpretations.
 *
 * @author (Alexander Yuan / AySz88)
 * @version (September 14, 2006)
 * Released into the public domain.
 * Most easily used with BlueJ
 */
public class LennyConund14Sept2006
{
    public static String[] species = {"Shoyru", "Kougra", "Kacheek", "Lupe", "Uni", "Gelert", "Eyrie", "Acara", "JubJub", "Grundo",
        "Ixi", "Bruce", "Mynci", "Usul", "Wocky", "Xweetok", "Scorchio", "Zafara", "Grarrl", "Aisha", "Kau", "Meerca",
        "Flotsam", "Peophin", "Elephante", "Quiggle", "Nimmo", "Chia", "Korbat", "Pteri", "Skeith", "Techo", "Blumaroo", "Kyrii",
        "Yurble", "Bori", "Buzz", "Tuskaninny", "Moehog", "Ruki", "Lenny", "Kiko", "Ogrin", "Jetsam", "Gnorbu", "Cybunny", "Poogle",
        "Chomby", "Koi", "Tonu", "Hissi", "Lutari", "Draik", "Krawk"};

    /**
     * Constructor for objects of class LennyConund06Sept2006
     * (Acts like a main())
     */
    public LennyConund14Sept2006()
    {
        int[] values = getCounts();
       
        for(int i = 0; i < values.length; i++)
           for(int j = i+1; j < values.length; j++) // not starting at 0 because don't need to go through combinations already done
              for(int k = j+1; k < values.length; k++) // same
                 if (values[i] + values[j] + values[k] == 203) System.out.println(species[i] + ", " + species[j] + ", " + species[k]);
       
         System.out.println("Done!");
    }

    /**
     * Produces an array of point values for String[] species
     *
     * @return     an array of integers (point values), in the same order as species
     */
    public static int[] getCounts()
    {
        int[] vals = new int[species.length];
       
        for (int i = 0; i < vals.length; i++) vals[i]=0; //just in case
       
        for (int i = 0; i < species.length; i++)
        {
            char[] chs = species[i].toLowerCase().toCharArray();
             
            // At first I thought it meant this...
            ///*
            vals[i] += 2*value(chs[0]);
           
            for (int j = 1; j < chs.length; j++)
                vals[i] += value(chs[j]);
            //*/
           
            // but instead, it could have meant this:
            /*
            for (int j = 0; j < chs.length; j++)
            {
                if (chs[j] == chs[0]) vals[i] += 2*value(chs[j]);
                else vals[i] += value(chs[j]);
            }
            */
        }
       
        for (int i = 0; i < vals.length; i++)
           System.out.print(vals[i] + ", ");
        System.out.print("\n");
        return vals;
    }
   
    public static int value(char c)
    {
        if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u')
           return - ((int) c - 96);
        else
           return (int) c - 96;
    }
}


First interpretation (first letter only the first time it appears):

The output wrote:
53, 10, 33, 14, -37, 54, 19, 17, -8, 14, -3, -1, 59, -32, 70, 77, 31, 73, 79, 15, 0, 36, 60, 41, 49, 25, 30, 4, 46, 56, 63, 31, -5, 47, 56, -2, 35, 106, 6, 17, 72, 9, 0, 66, 12, 65, 16, 39, -2, 18, 36, 31, 27, 73,
Shoyru, Xweetok, Zafara
Shoyru, Xweetok, Krawk
Gelert, Wocky, Grarrl
Gelert, Xweetok, Lenny
Mynci, Grarrl, Cybunny
Wocky, Xweetok, Pteri
Wocky, Xweetok, Yurble
Wocky, Zafara, Flotsam
Wocky, Flotsam, Krawk
Wocky, Tuskaninny, Draik
Xweetok, Grarrl, Kyrii
Xweetok, Flotsam, Jetsam
Scorchio, Tuskaninny, Jetsam
Grarrl, Tuskaninny, Tonu
Peophin, Pteri, Tuskaninny
Peophin, Yurble, Tuskaninny
Quiggle, Tuskaninny, Lenny
Techo, Tuskaninny, Jetsam
Tuskaninny, Jetsam, Lutari
Lenny, Jetsam, Cybunny
Done!


Second interpretation (first letter every time it appears):

The output wrote:
53, 10, 44, 14, -37, 54, 14, 15, 2, 14, -12, -1, 59, -53, 70, 77, 31, 73, 79, 14, 0, 36, 60, 57, 39, 25, 30, 4, 46, 56, 63, 31, -5, 47, 56, -2, 35, 106, 6, 17, 72, 20, 0, 66, 12, 65, 16, 39, -2, 18, 36, 31, 27, 84,
Shoyru, Kacheek, Tuskaninny
Shoyru, Xweetok, Zafara
Shoyru, Jetsam, Krawk
Gelert, Wocky, Grarrl
Gelert, Xweetok, Lenny
Gelert, Cybunny, Krawk
Mynci, Grarrl, Cybunny
Mynci, Flotsam, Krawk
Wocky, Xweetok, Pteri
Wocky, Xweetok, Yurble
Wocky, Zafara, Flotsam
Wocky, Tuskaninny, Draik
Xweetok, Grarrl, Kyrii
Xweetok, Flotsam, Jetsam
Xweetok, Tuskaninny, Kiko
Scorchio, Tuskaninny, Jetsam
Zafara, Korbat, Krawk
Grarrl, Tuskaninny, Tonu
Quiggle, Tuskaninny, Lenny
Pteri, Skeith, Krawk
Skeith, Yurble, Krawk
Techo, Tuskaninny, Jetsam
Kyrii, Lenny, Krawk
Tuskaninny, Jetsam, Lutari
Lenny, Jetsam, Cybunny
Done!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 20, 2006 11:37 pm 
PPT Toddler
PPT Toddler
User avatar

Posts: 201
Joined: Mon Jun 07, 2004 5:46 pm
Location: In Front of computer, trying to escape
!!! :D I am soooo excited I broke the top 250 for the first time!!

I used peophin tuskaninny yurble


Image


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 21, 2006 4:40 am 
PPT Trainee
PPT Trainee

Posts: 549
Joined: Wed Jun 22, 2005 2:07 pm
Location: Huntington, NY
Gender: Male
gabriellaeve wrote:
!!! :D I am soooo excited I broke the top 250 for the first time!!

I used peophin tuskaninny yurble


Looks like they used the first interpretation, going by this.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 15 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 149 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group