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.
369
questions
6
votes
1answer
422 views
Stop the robot by changing value of variable Z
You're a computer security expert (i.e a hacker who doesn't break law). Your neighbour is infamous professor MacGoofy himself. He specializes in designing programming languages and programming ...
11
votes
4answers
406 views
Not so boring numbers
This is inspired by this and this and more similar ones.
Let us consider formation of a given positive integer N by the following rules
You may use only one digit, which one is your choice and you ...
-4
votes
2answers
357 views
mmm mmmmmmmmm mmmmmmmmmmmmmmmm mmmmmmmm mmmmm mmmmmmmmmmmmmmmmmm mmmmmmmmmmmmmmmmm mmmmmmmmmmmmmmmmmmmmm mmmmmmmmm mmmmmmmmmmmmmmmmmmmmmmmmmm
mmmmmmmmmmmmmmmmmmm mmmmmmmmmmmmmmm mmmmmmmmmmmm mmmmmmmmmmmmmmmmmmmmmm mmmmm mmmmmmmmmmmmmmmmmmmm mmmmmmmm mmmmmmmmm mmmmmmmmmmmmmmmmmmm mmm mmmmmmmmmmmmmmmmmm mmmmmmmmmmmmmmmmmmmmmmmmm ...
11
votes
2answers
383 views
A fraction puzzle
This is a puzzle with both the computer-puzzle tag and the no-computers tag.
We have the following list of five fractions:
$$11/5, 30/77, 1/11, 21/2, 5/7.$$
Starting with an integer $x$, we perform ...
-1
votes
1answer
196 views
6
votes
1answer
183 views
7-QWERTY-distance words
My previous puzzle The QWERTY-shortest word was solved nearly instantly by the effective puzzling community. I also believe it is because the main parameter of the puzzle 4.7 was not perferectly set. ...
9
votes
2answers
357 views
Maximize my flags
You are given the next list of 48 flags.
For each pair of flags that are side by side, you score 1 point per color they share as a frontier. For instance France and Finland score 1 point thanks to ...
5
votes
1answer
209 views
The QWERTY-shortest word
For this puzzle, I define the distance between two letters as the shortest way on a QWERTY keyboard to go from a letter to another with a path.
Examples:
Q and W are seperated by a distance of 1.
2 ...
-1
votes
3answers
516 views
Ted's answer had Thomas shocked! “He… he's alive…” he realized
There's this built-in python module, we'll call it mystery.
Now, mystery has this function, we'll call it ted.
Also, mystery has another function, we'll call it jan.
Finally, lets bring Thomas into ...
2
votes
1answer
146 views
Messed up function needs uncovering!
You spent 5 hours to make a simple function that takes in a number, and it will print out a grid with the given number as each of its dimensions. Each square of the grid will have a single circle in ...
2
votes
2answers
196 views
Magic rotated checkerboard function made in python!
Here's a puzzle for all you python programmers out there:
I defined a function that goes like this:
...
12
votes
2answers
427 views
The art of computer programming
EDIT: I know we are not supposed to edit in new requirements after first posting but as far as I understand it this requirement is implicit in all questions here:
Explain your answer! At least a ...
2
votes
2answers
277 views
Find how a is defined with each underscore representing a character
Here is a puzzle for python programmers (python3+):
Find how a is defined (for example, a = 2 + True), with each underscore ...
7
votes
1answer
247 views
Slim at any size?
Recall from ŧhis question that we call a positive integer slimdownable or slim for short if it is part of a sequence of integers where each is followed by itself divided by its length, i.e. its number ...
13
votes
1answer
454 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} \!\;
...
1
vote
1answer
117 views
Break into Goldbach's safe
You need to unlock a safe by typing in the correct password. All you have is the following note:
...
1
vote
1answer
415 views
JavaScript Puzzle about internationally-known fairy-tale
Hello world!
Learning OOP I came up on this Puzzle.
We can call this JPuzzle
Kinda simple, but no-one gave the right answer yet.
Here is the JPuzzle:
_=(..._)=>_...
18
votes
4answers
2k 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$ ...
2
votes
1answer
139 views
Shut down the laptop!
Here's a computer based riddle for all the linux geeks out there:
You just installed Ubuntu 20.04 on your shiny new laptop! The system boots you into your user and shows you the desktop. However, to ...
5
votes
1answer
105 views
Fill in the missing number in this unique sequence puzzle
My friend Ed woke up this morning to find his website defaced. Upon the now altered web page, he found this number sequence:
$237,\ 3566,\ 57069,\ \color{green}{???},\ 14600926,\ 233811181$
One of the ...
-6
votes
1answer
110 views
Need help with a online puzzle / riddle [closed]
I found a puzzle on the deep web (http://matrix4ozv2gicar.onion), and I am stuck on access level 2, I am aware someone else posted the same question on the same part as me about a year ago, except it ...
1
vote
0answers
106 views
Searching online catalogs is a pain. Can you tell me if it's worth my trouble?
Searching online catalogs is a pain. Can you tell me if it's worth my trouble?
As an example, I searched the following online catalog of a well-known country-wide British outlet for the keyword "...
16
votes
2answers
356 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 ...
5
votes
1answer
124 views
Competitive puzzles
Do you know any sort of puzzles that can work in the context of a short competition? In other words, puzzles that have these features:
The premise should be fairly simple to follow (but the solution ...
2
votes
1answer
196 views
Based on 9-trains puzzle
Based on this problem, we have got some algorithms that can sort the 9 train cars in a given specific arrangement. But say if the 9 train cars are given in any-arrangement?
Say
ABC
ABC
ABC
...
4
votes
1answer
219 views
Find the equation of this surface - The Snowman
Here is a surface that resembles a snowman:
Its equation has the form $f(x,y,z)=0$: if a point $(x,y,z)$ satisfies that equations it is shaded, otherwise it is "left blank". Your goal is to find $f$.
...
4
votes
1answer
191 views
How to test a sudoku solver?
I have created a standard sudoku solver using my own algorithm. It relies on a continuous scanning with occasional tuple/pair searching. I am looking forward to test if this works properly. I have ...
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 ...
13
votes
2answers
513 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 ~/....
52
votes
1answer
1k views
Selective attention: an unusual game
There's a park behind the local basketball courts, where I like to go for quiet time. The other day, a group of thirty people arrived with a basketball as I was sitting down. One sat next to me, ...
11
votes
2answers
406 views
Make -132,680 from these operations
Make the result $-132,680$ using these operations and numbers:
Numbers (cannot be used more than once, but not all need to be used):
$2,4,6,8,9,10,11,12,23,27$
Operations (all operations have to ...
5
votes
2answers
310 views
find the word in a multi-stage internet scavenger hunt
The answer can be anything.
For you can search a lifetime.
To discover the bookmarked answer.
You must traverse down the long long walls.
Using the number of walls of each frame.
The key hides twice ...
7
votes
1answer
285 views
New maths puzzle
The objective is to blacken certain boxes. The numbers outside represent the sum of the numbers contained in the white boxes in the corresponding rows or columns.
4
votes
1answer
185 views
Smudged Sudoku - help me solve it!
One late evening I was making my sudoku. I finally finished until water spilled all over the middle-right block.
The only thing I remember is the numbers present in the block (but not their position):...
8
votes
1answer
220 views
Puzzle of the day - Sudoku Rossini
The arrows outside the grid indicate that the nearest three digits in the corresponding direction are in ascending or descending order (the highest number is always in the direction of the arrow). All ...
3
votes
3answers
559 views
What is a Limited Wordā¢
This is in the spirit of the What is a Word/Phrase⢠series started by JLee with a special brand of Phrase⢠and Word⢠puzzles.
If a word conforms to a special rule, I call it a Limited Wordā¢.
Use the ...
4
votes
1answer
143 views
CAPTCHA Popup test
Solve the cryptic clue.
Hidden finance equals to nothing (3, abbr.)
Notice the capitalization in your answer.
Make sure your capitalization is correct.
4
votes
2answers
734 views
Computer puzzle using functions
Write the function that operates as stated below:
In: "get"
Out: "2069"
In: "more"
Out: ā5191716"
In: "insight"
Out: "209912231915"
Hint: First, figure out how the function works
& then ...
28
votes
5answers
1k views
Google cannot find me
Google cannot find me,
reflected I'm lemon and lime,
googling 'me' is when you fall,
me and meme will answer all.
What am I?
Line 1 hint: Posted I still
Line 2 hint: Take my reflection
...
11
votes
1answer
686 views
What is a Royal Word�
This puzzle is based off the What is a Word⢠and What is a Phrase⢠series started by JLee and their spin-off What is a Number⢠series.
$
\begin{gather*}
% set Title text. (spaces around the text ARE ...
2
votes
1answer
157 views
The France Public Holiday's Distance Grid
French Public Holidays
We consider the following rules that apply to the 11 French public holidays :
New Year's Day : 1st of January
Easter Monday : Monday following Easter Sunday which is the next ...
0
votes
0answers
218 views
Reverse Engineering Computer Formula
A computer uses an unknown formula to create a 4 digit Output using specific Input. Here are 3 examples:
Input = 20066 : 020470 : 47 : 1 : 322267 Output = 0927
Input = 20066 : 020470 : 46 : 3 : 198684 ...
7
votes
1answer
233 views
Find the secret word hidden in this message
(TL;DR at the bottom)
The following message was received from a friend:
I need you right away to help me use 0x1DD1A to find out how to set up my ...
38
votes
3answers
2k views
What comes next in the sequence?
My roommate has insomnia so he was counting sheep to help him sleep.
He started with $2986$, then continued with $47786,\ 764586,$ and $12233386$.
What sequence is he following, and what was the ...
3
votes
1answer
658 views
Challenge on ASCII Codes
My friend shared a challenge puzzle with me but I don't have any idea on this? I believe that it's related to ascii characters.
8
votes
2answers
341 views
Can you open a safe with a lengthy complicated combination?
Two cousins were talking about their parents' safes. "They said I can keep my comic books in their safe, if I figure out the right combination, and enter it on the keypad correctly on my first ...
2
votes
1answer
156 views
What is a Perfect Inquirey Word�
This is in the spirit of the What is a Word/Phrase⢠series started by JLee with a special brand of Phrase⢠and Word⢠puzzles.
If a word conforms to a special rule, I call it a Perfect Inquirey Wordā¢.
...
19
votes
2answers
449 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 ...
5
votes
0answers
372 views
What is a 255b Word�
This is in the spirit of the What is a Word/Phrase⢠series started by JLee with a special brand of Phrase⢠and Word⢠puzzles.
If a word conforms to a special rule, I call it a 255b Wordā¢.
Use the ...
6
votes
1answer
257 views
12 Distinct Weights' Sorting
There are 12 balls with all different weights. You want to sort these balls by weight. You have a friend who will help you with the ordering process. In each step, you give any 4 balls to your friend ...