Questions tagged [printable-ascii]
Challenges relating to the 95 printable ASCII characters (space to ~). Tabs and newlines may be included as well, depending on the challenge.
80
questions
28
votes
33
answers
2k
views
How many dots are there?
Given a string of printable ASCII, count the dots.
The following characters have one dot each: i j ...
11
votes
4
answers
663
views
Miracle Miracle Octad Generator Generator
The Miracle Octad Generator (MOG) introduced by R. T. Curtis in 1976 is a central tool in the study of sporadic groups, error-correcting codes, Steiner systems, and sphere-packings.
The MOG is ...
14
votes
16
answers
2k
views
Reduce a string up to idempotency [closed]
Objective
Given a string consisting of printable ASCII characters (!0x21 ― ~0x7E), treat it as an element in the free idempotent ...
18
votes
23
answers
5k
views
Wait, ASCII was 128 characters all along?
Challenge
In this challenge, you have to take a nonnegative integer as input, convert it into base-128 bytes (0 → 0x00, 127 → ...
12
votes
5
answers
1k
views
Implement a typeface based on a 3x3 bitmap matrix
Input
A single-character string containing an uppercase or a lowercase letter from the English alphabet.
Alternatively, you may handle only uppercase or only lowercase letters as input.
Output
This ...
16
votes
7
answers
2k
views
Output a Latin square with a program which is a Latin square
A Latin square of order n is text which is arranged as a square of n lines by n columns, contains n different characters, and each character appears once in each line and column. For example, here is ...
8
votes
4
answers
440
views
Number-only switch
Write a function that takes an ASCII-printable-only (all charcodes ∈ [32..126]) string input x and provides an ASCII-printable-only output string ...
31
votes
87
answers
5k
views
Print the ASCII Code page
Goal
You have to print the ASCII printable characters' code page (0x20-0x7E).
The output should look like this:
...
-2
votes
1
answer
876
views
Draw Lines in ASCII [closed]
Challenge
Draw lines in ASCII corresponding to given inputs:
in the first line there are given size of rows and columns of the view and number of separators between each point
in the second line is ...
20
votes
25
answers
5k
views
Draw an ASCII Grid
(Based on this closed challenge, related)
Given an integer n > 1, draw a grid composed of the characters: "-" "+" and "|". However, since I want the grid to look nice, ...
16
votes
12
answers
1k
views
Quines that print what their index is
We all know what a quine is. A quine is a program which prints its own source code. And we also know about the printable ASCII characters. Well... this challenge mixes both.
Your mission, should you ...
17
votes
11
answers
704
views
Smaller Strings in Printable ASCII base
Task
Given a input string s which contains only printable ascii characters output all strings which contain only printable ascii characters and are strictly ...
29
votes
31
answers
6k
views
When I grow up I want to be ASCII
Task
Your task is to take a character in:
AÁÀÃÂBCÇDEÉÊFGHIÍJKLMNOÕÓÔPQRSTUÚVWXYZaáàãâbcçdeéêfghiíjklmnoõóôpqrstuúvwxyz
and turn it into a characters in:
...
1
vote
0
answers
67
views
Print the twelve days of Christmas [duplicate]
The goal is simple, print out each day of the twelve days of Christmas, the text should match this exactly
...
-9
votes
3
answers
961
views
No-alphanumeric code exec
Introduction
In most interpreted languages, there is an operation that will run code generated at runtime. It generally requires alphanumeric characters to refer to this operation. Write a program, ...