## Programming 7

Put your programming skills to the test in these challenges.

### Programming 7

Its just the explanation of the mission isn't very clear or i did't understand it, It says:

"Begin with the upper line, and add the lower line without a blank in between."

Well I'm guessing this is the unscrambling method, BUT
1. What does it mean by add? is it like concatenate or mathematically add (like pixel position)!
2. What does it mean by the lower line? is it the next line or the bottom line!
3. What does it mean by a blank in between?

Thanks.
Xive
New User

Posts: 8
Joined: Sat Jan 17, 2009 1:01 am
Blog: View Blog (0)

### Re: Programming 7

No, it means type in the letters from top to bottom, without spaces.
You have to figure out how to unscramble it yourself.

TheMindRapist
Contributor

Posts: 589
Joined: Mon Apr 14, 2008 4:57 pm
Blog: View Blog (0)

### Re: Programming 7

Its just the explanation of the mission isn't very clear or i did't understand it, It says:

"Begin with the upper line, and add the lower line without a blank in between."

Well I'm guessing this is the unscrambling method, BUT
1. What does it mean by add? is it like concatenate or mathematically add (like pixel position)!
2. What does it mean by the lower line? is it the next line or the bottom line!
3. What does it mean by a blank in between?

Thanks.

When you unscramble this, it should reveal 2 rows of chars in the image which are legible so if the upper row is XxXxX and directly below it is YyYyY then to submit the correct answer would be: XxXxXYyYyY
"Begin with the upper line, and add the lower line without a blank in between."

Defience

Posts: 1279
Joined: Thu Jun 12, 2008 3:16 pm
Blog: View Blog (0)

### Re: Programming 7

I'm kind of stuck on Programming 7. I figured out a way to group the two different sets of characters together and my sorting algorithm only makes the character's, slightly more readable, but not really to the point where I can pass the mission. Currently I'm trying to sort by the sum of B values, but it's not working well. My question is, should or can I somehow be using the background to sort the rows? On a side note, I believe the example files given on the challenge page seem to be old. Just the encoding for the background seems simpler, and I think my algorithm would work for a file similar to the example ones posted.

New User

Posts: 30
Joined: Mon Apr 14, 2008 11:34 pm
Location: KY
Blog: View Blog (0)

### Re: Programming 7

This is actually a good point, I don't think the images have been updated since evinyatar recoded the mission.

TheMindRapist
Contributor

Posts: 589
Joined: Mon Apr 14, 2008 4:57 pm
Blog: View Blog (0)

### Re: Programming 7

So after I ditched my method stated earlier which would have worked with the files similar to the example files, I wrote an algorithm that rearranged the data without looking at the background and successfully completed the mission. However, I am still curious as to how others have solved this using the background. If someone could please PM me how they sorted the lines based on the background, I would appreciate it. I'm curious.

New User

Posts: 30
Joined: Mon Apr 14, 2008 11:34 pm
Location: KY
Blog: View Blog (0)

### Re: Programming 7

dwmead03 wrote:So after I ditched my method stated earlier which would have worked with the files similar to the example files, I wrote an algorithm that rearranged the data without looking at the background and successfully completed the mission. However, I am still curious as to how others have solved this using the background. If someone could please PM me how they sorted the lines based on the background, I would appreciate it. I'm curious.

actually i used the background. what you tried was close to the right method, but you should have filtered the text.
but what did you use? i can't imagine.
acskurucz
New User

Posts: 29
Joined: Wed Jan 14, 2009 8:31 am
Blog: View Blog (0)

### Re: Programming 7

acskurucz wrote:actually i used the background. what you tried was close to the right method, but you should have filtered the text.
but what did you use? i can't imagine.

I still don't understand how I was supposed to do it with just the background. I tried only using the pixels to the right of the password data but I never even came close.

My method eliminated all rows without data and the sorted each line based on the amount of pixels it had in common with the next row. Sometimes it worked beautifully. Others, not so much. Also, it didn't guarantee that the letters were correct top to bottom. So sometimes the letter would be chopped in half with the bottom half on top and the top half on bottom.

New User

Posts: 30
Joined: Mon Apr 14, 2008 11:34 pm
Location: KY
Blog: View Blog (0)

### Re: Programming 7

You wrote it 5 posts earlier, the method is close, but with filtering. u need to know the password's color(s)
acskurucz
New User

Posts: 29
Joined: Wed Jan 14, 2009 8:31 am
Blog: View Blog (0)

### Re: Programming 7

Wow... this one was hard!

I thought my solution would be unique, then I realised I did allmost the same thing as dwmead03.
My program makes the picture much more readable, although sometimes the letters are choped in pieces and turned upside-down.
Since there is 180 second limit, I have plenty of time to adjust the letters in MS Paint, and post the correct solution.

By the way I used C++ and had over 1500 lines of code(including comments and stuff)... I like to complicate things
Schultzika
New User

Posts: 4
Joined: Tue May 26, 2009 2:13 pm
Blog: View Blog (0)

Next