Questions tagged [computer-puzzle]

A tag for puzzles dependent upon some degree of computer literacy - for instance, requiring basic familiarity with operating system usage, encryption or programming.

Filter by
Sorted by
Tagged with
20
votes
4answers
1k views

The Prison Escape Pt. 1 (THE DOOR)

You are currently escaping a prison owned by a mad scientist. As you were about to approach a large iron door that you think should be leading to the exit, a guard came out from the shadows. ...
20
votes
1answer
740 views

Old code for the new year

Here is a question I posted on rec.puzzles back in 1998. So it's about twenty years on, and people seem to have stopped thinking about it. I'll refresh your memory by posting it again: I wrote a ...
19
votes
2answers
2k views

Name that Movie

The following each describe a movie title. Figure out what they are! (I'm really bad at intros.) 1. :*:*!! 2. ...
19
votes
2answers
462 views

Reverse (Big) Boggle

This is a puzzle that I've worked on-and-off for quite a few years, but not being a competent coder, I haven't worked out a definitive solution. I suspect the 1st part is impossible but haven't proved ...
19
votes
2answers
765 views

Away from the hub

Today I got a weird FaceTime call from teenage girl I didn't know. They must have dialled the wrong number, but I was too intrigued to hang up. Instead, I covered my camera and turned off the ...
19
votes
2answers
2k views

Who can spot the difference?

My family and I have just moved house! Lucky us! So what did my family do? We held a housewarming party, and rung everyone in the neighbourhood up to invite them. So, anyway, people were coming in ...
19
votes
1answer
936 views

Oh no! A hacker has taken control of my computer!

It seems that some guy called Magick has taken over my computer. Well, there does not seem to be any harmful stuff done at least, but this picture keeps appearing on my screen. "HACKED by Magick"? ...
19
votes
2answers
538 views

The Sequencer - da-da-daaa!

This is what the diagram on the machine looked like: And this is the output that was in the box. ...
18
votes
4answers
3k views

I don't want the smallest one, I want the second-smallest one

Inspired by my struggles with a certain open-source online learning platform's grading system: You are working in a computer language with a limited set of built-in functions. You have a set of $m$ ...
18
votes
3answers
5k views

A shy person in a queue

I'm so shy when between people. When in a queue, I'd like to be the last. That's the only time when I'm not shy. When consuming food, I'd take one or two, or even four, depending on the context. What ...
18
votes
2answers
3k views

What does this Java code represent?

The following is a text rebus in the form of a Java program: ...
18
votes
2answers
492 views

An Artwork Made from Several Countries

Last year I went to 12 different countries around the world. I made an AI to convert every country that I've visited into a beautiful artwork as a reminder. I input the 12 countries name, then somehow ...
18
votes
3answers
508 views

Ornithogenic Turnover

Peptiberg: Hello, friend. Why do you look so pleased? Tippgeber: My friend just had a change of profession - from a divisive one to a constructive one. Peptiberg: Was it a smooth transition? ...
17
votes
5answers
2k views

‘‘Loopy’’ C loop

What is the smallest number of non-space characters that can be added in order to change the following code into a complete C program that prints  ...
17
votes
1answer
2k views

Nutter, Nutter, Peanut Butter

What's this then? ...
17
votes
2answers
381 views

What to make of $\!\:\tt puzzle.\!txt$?

Puzzling Stack Exchange: Don’t even ask where I found the old printout, below, of an uncommented computer program. As I am a leading-edge software solutionaut hone-tuned for elegantly annotated ...
17
votes
2answers
592 views

Maximum Height of a Hotel with Strange Elevators

I encountered this puzzle many years ago, and I think back on it often as it is unique and thought provoking. As far as I know nobody has proved the given solution as optimum, so it may still be ...
16
votes
8answers
1k views

High and low rebus

What may the following represent? $\large\underline{US}$ $\large01100111$ $\large00\Large\color{green}\bullet$ The 3 rebuses give 3 proper nouns. They are in alphabetical and ...
16
votes
3answers
1k views

A riddle to make a channel queasy

An accidental discovery of mine, this groan-worthy riddle is answerable with a single character when posted in a Slack channel: What governs the level of disease? As this is my first riddle here I'...
16
votes
6answers
588 views

A regular riddle

I'm kept inside a boxy cage.A prefix for the modern age, I make the messages you create fly at a supersonic rate. Now that box has me and my friends inside a box with rounded ends. You can ...
16
votes
3answers
2k views

Clue 18 - Should this be on Stack Overflow?

<<---First clue <---Previous clue As you sit at the computer that you used to solve the last puzzle, a popup window opens. It appears to be a Stack Overflow question, with a very generic ...
16
votes
2answers
2k views

Strategies for creating a cross sums puzzle with a unique solution

I am looking for strategies for creating a puzzle with a unique solution, and ways of testing for uniqueness. Specifically, I'm trying to create cross sums puzzles. How can you create one with a ...
15
votes
3answers
2k views

Trying to understand an unusual timestamp encountered on the web

I am writing an API to crawl a popular website, eksisozluk, kind of like Turkey's reddit, but more text based. On this website, you can get a list of the popular posts from the path /basliklar/...
15
votes
3answers
1k views

For which numbers does the order of reversing their digits and squaring not matter?

This was a question made up by a friend who doesn't have SE. Let the function $r:\mathbb Z^+ \rightarrow \mathbb Z^+$ reverse the digits of a number (in base 10) that it is applied to. In addition, ...
15
votes
4answers
2k views

Creating the hardest 10x10 maze

You are given an empty 10x10 grid. You are allowed to paint some of its cells as walls (black), while the remaining cells stay empty (white). A robot is programmed to start in the top-left corner of ...
15
votes
4answers
1k views

Don't Be Afraid Of The Dark

This puzzle follows the convention that anything outside a quote is flavour text. So last night I left my computer running. You know - when computers get older they want to bend the rules a bit. Don't ...
15
votes
1answer
1k views

Decipher the clues, escape the prison!

Decipher the clues, escape the prison! The guard at the prison, where you have been locked up for misuse of USB ports, has given you one chance to escape, by typing in a certain word. A keyboard is ...
14
votes
4answers
2k views

What is the password in the image?

For my first puzzle I made this, everything you need is in the image. The goal is to find the hidden password. You must look at the image to solve this puzzle, but here's a transcript of the letters ...
14
votes
3answers
884 views

The Hyper-Modern Kidnapper: Crime Scene #5 (The last crime scene)

The Story: It had taken longer than planned to sneak out after having solved the word search with the hidden message. Vimes was worried that he had alrady failed. Having taken the stairs to reduce the ...
14
votes
3answers
798 views

Is there room on the code "rebus" bandwagon for one more?

...
14
votes
2answers
2k views

Quick Puzzle: What is it?

What is it? Is it zebra? 0 0 1 0 1 1 0 1 1 1 1 0 0 0 1 0 0 1 1 1 0 1 0 1 0 0 1 1 0 1 1 1 1 0 1 1 0 1 1 1 1 0 0 1 0 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 1 1 0 1 0 0 1 1 0 1 1 1 ...
14
votes
5answers
573 views

To each his own

You are a graduate student in theoretical mathematics, dabbling every so often in some interesting but equally useless computer science theory. From the beginning of the year, Professor Carl Hayden ...
14
votes
1answer
1k views

Another Linux movie command

Inspired by this question, here's another Linux command representing a famous line: cp -a ~she ~ Which line is it?
14
votes
2answers
589 views

Tiling rectangles with W pentomino plus rectangles

Inspired by Polyomino Z pentomino and rectangle packing into rectangle Also in this series: Tiling rectangles with F pentomino plus rectangles Tiling rectangles with N pentomino plus rectangles ...
14
votes
3answers
441 views

Two integer sided equilateral triangles with integer distances

In this figure with two non-congruent equilateral triangles and three-fold rotational symmetry the distance between any two of the 6 vertices is an integer. Can you give a solution? I know only one ...
13
votes
3answers
2k views

Restoring order in a deck of playing cards (I)

Michelle has a deck of 52 playing cards, stacked in a pile with their backs facing up. She takes the first 2 cards in the pile, turns them over, and places them at the bottom of the pile. She now ...
13
votes
5answers
674 views

Labelling a Snow Flake Graph to Attain Minimum Sum

Label the vertices (or nodes) of this graph with positive integers so that any two nodes are joined by a edge (or line) if and only if the corresponding integers have a common divisor greater than 1 (...
13
votes
2answers
1k views

Cryptic message from a former SYSOP

Your sysop recently quit due to what the law division calls "internal struggles". Less fancily, he hated you, and he hated his job. As a parting gift, he left you a program entitled SwanSong.c. Being ...
13
votes
4answers
3k views

A dice game, what is the optimal strategy?

Alice was walking on the street when she came across a man playing with a die. She could not help trying to check if the die was loaded and while she was concluding that it wasn't loaded, the man ...
13
votes
2answers
602 views

One code to rule them all

Kurt, our crusty old mainframe admin, finally retired last week and I've been given the task of sorting through his files. Most of the files were comprehensible, if not understandable, like his old ~/....
13
votes
1answer
1k views

A Quote from what Movie?

Heads up: It's possible to solve this puzzle without writing computer code, but it is intended to be solved with computer help. This is a 2-stage puzzle. Stage 1: Calculation Puzzle Rules: 1. You ...
13
votes
2answers
1k views

Which country am I thinking of?

Fill in the gaps with the answers of the rebuses, and then answer the question: Which country am I thinking of? It's → 2 ↓↲ And they will be the ...
13
votes
2answers
470 views

Comparatortionist: The $M_Q$ Functor

The Problem At the intersection of mathematics, computer science, and insanity, we find the $M_Q$ functor${}^1$. $${M_Q} = {\Phi _{{s_1},{s_2}}}\left\{ {\begin{array}{*{20}{l}} {E \leftarrow {\Phi ...
13
votes
1answer
730 views

Protip: Don't leave your computer unlocked during a guess-the-song challenge

Me and my buddy, Jim, were playing a guess-the-song challenge. Of course, I was winning. (Don't tell him I said that!) After he left, I looked at my computer, and saw this written in gedit: ...
13
votes
1answer
476 views

Is $~\let\r\raise\text{3rd.3}\r.6ex{\small3}\r1.1ex{\scriptsize3}\!\:\r1.6ex{\tiny3}\!\;\r2.2ex.\!\r2.5ex.\!\r2.8ex.\!\!\!\!\!\!(~)~$ too much to ask?

You will not be asked to devise a function to find the third-least of $ 3 \raise .6ex {\small 3} \raise 1.1ex { \scriptsize 3}\!\: \raise 1.6ex { \tiny 3} \!\; ...
13
votes
2answers
624 views

Help me find my friend!

I need your help! My friend has gone missing and I have no clue where he could be! However, he did manage to get a message out to me: Kidnapped. Send help. I am here: port town. $\left\lfloor\sqrt{\...
12
votes
8answers
5k views

A Simple Programming Task

You are given a task to write a program to switch values between variables, but you are not allowed to use any extra variable or any function to exchange values between the other variables as shown ...
12
votes
4answers
1k views

The Recursive Song

This is a revival attempt of the Fortnightly Topic Challenge. Easter is coming, time to hide some Easter eggs. As you probably know programmers hide them in program code. This type of Easter eggs ...
12
votes
2answers
1k views

Tricky wild goose-chase puzzle

Your obnoxious little brother loves to outwit you. He asks you to find the message hidden in the following image You are determined and ready to teach your brother a lesson. But can you ?
12
votes
3answers
2k views

Programming News Paper Puzzle

This puzzle appeared in my local paper, while I am unable to solve it - maybe you guys can take a crack at it. Page 1 Page 2 They were scanned at pretty high resolution, so you should be able to ...

1
2
3 4 5
8