All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > General > Word Problems
Four-letter insert? (Posted on 2004-09-06) Difficulty: 2 of 5
Can you find a word that includes the letters "CKSK" together, consecutively, in that order?

See The Solution Submitted by Federico Kereki    
Rating: 2.5000 (4 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution All seven | Comment 3 of 11 |
There are seven distinct words in my unabridged dictionary:
 
buckskin
buckskinned
buckskins
crackskull
thickskin
thickskull
thickskulled
 
My VB program found them in 1 second:
 
Imports System
Imports System.IO
Imports System.Text
Imports System.Runtime.InteropServices
Imports System.Math
Module Module1
    Sub Main()
        Randomize()
        Dim strstarttime As String
        Dim strendtime As String
        Dim strend As String
        strstarttime = TimeOfDay
        Console.WriteLine( _
        TimeOfDay & ": Start of execution.")
        lookforcksk()
        Console.WriteLine("Start of execution: " & strstarttime)
        strendtime = TimeOfDay
        Console.WriteLine( _
        TimeOfDay & ": End of execution.")
        strend = "?"
        Console.WriteLine(" ")
        While strend <> "x"
            Console.WriteLine( _
            "Please enter X to exit program.")
            strend = LCase(Console.ReadLine())
        End While
    End Sub

    Sub lookforcksk()
        Dim strline As String
        Dim objStreamReader As StreamReader
        strline = " "
        objStreamReader = _
        New StreamReader("C:\VBWORDLIST.MASTER")
        Do While Not strline Is Nothing
            strline = objStreamReader.ReadLine
            strline = LCase(strline)
            If strline <= " " Then
                Exit Do
            End If
            If strline Like "*cksk*" Then
                Console.WriteLine(strline)
            End If
        Loop
        objStreamReader.Close()
    End Sub
End Module 

  Posted by Penny on 2004-09-06 09:24:27
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information