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
1
vote
1answer
64 views

Messed up function needs uncovering!

You (a python noob) 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 ...
2
votes
2answers
152 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
388 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
271 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
242 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
434 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
102 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: ...
6
votes
0answers
292 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 noone 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
128 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
93 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
102 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
104 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
340 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
123 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
191 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
217 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
168 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
482 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
398 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
307 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
281 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
143 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
216 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
550 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
140 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
731 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
682 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
155 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
215 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
192 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
629 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
337 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
155 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
447 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
367 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
248 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 ...
7
votes
1answer
289 views

Heavy-duty computing challenge — maximum-density word packing

Caution: This is a challenge for computers only. Humans are advised to stand well clear of the protective safety cage. There may be CPUs on fire before it's over. Introduction Nothing makes a ...
3
votes
1answer
178 views

Scrambler and key!

You are given three files. One is a snippet from scrambler.py file: ...
11
votes
4answers
941 views

Can multiple wall timers turn lights on or off when required?

Imagine we have some simple mechanical 24 hour wall timers like this: There’s one restriction though, they’re badly designed so each one can only turn on once and turn off once in a 24 hour period (...
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 ...
1
vote
1answer
197 views

Molly and a pseudocode

Molly was given a pseudocode by her teacher and told her you need to understand the pseudocode to answer the riddle. Riddle: I am _________ like universe and stars You will find me in computer ...
5
votes
1answer
271 views

map 5 unequal ranges to id

This is actually coming from a business place, but it's all about being able to do math tricks, and that's why I'm posting here. I want to implement the following function: ...
9
votes
1answer
382 views

“Brainf*ck, but not really.”

Yesterday, I organized a contest with various challenges the participants had to solve. I put 6 very simple puzzles that were solved almost instantly, and the deadline was supposed to be until Sunday. ...
0
votes
2answers
179 views

Hunting for treasure in 1-d grid [duplicate]

In a castle, there are N rooms in a line. Each room has a door to the two neighbouring rooms (or the one neighbouring room, for the rooms at either end). A treasure is hidden in one of the rooms. ...
8
votes
1answer
310 views

What is a Fade 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 Fade Word™. Use the ...

1
2 3 4 5
8