celtschk
A quiet enigma. We don't know anything about celtschk yet.
Posts
See all 79 »A while ago I wrote an answer in C (gcc) to the FizzBuzz challenge. Now I've found a shorter solution for the same compiler, which however uses a completely different strategy. Now I wonder if I s...
1 answer · posted 4y ago by celtschk · edited 2y ago by trichoplax
Given a string and a non-negative integer $n$, output a new string in which each character is repeated $n$ times. Test cases: "abc", 1 -> "abc" "Hello", 0 -> "" "double", 2 -> "ddo...
posted 4y ago by celtschk · edited 2y ago by trichoplax
Rational numbers in decimal representation can have an infinite periodic part. One common way to write this down is to repeat the periodic digits and then add three dots. Numbers without those thre...
2 answers · posted 4y ago by celtschk · edited 4y ago by General Sebast1an
The task is to generate the text of Lewis Caroll's Jabberwocky. The text, quoted from Wikipedia, is as follows (I've replaced a non-ASCII character with ASCII, otherwise it's direct copy&paste...
4 answers · posted 5y ago by celtschk · last activity 4y ago by General Sebast1an
If you print some string s without a newline character at the end, instead of print(s,end="") write print(end=s) to save two bytes. Note that this only works for strings, not for other typ...
posted 4y ago by celtschk · edited 4y ago by General Sebast1an
Rational numbers in decimal representation can have an infinite periodic part. One common way to write this down is to repeat the periodic digits and then add three dots. Numbers without those thre...
posted 4y ago by celtschk · edited 2y ago by trichoplax
Run-length encoding is a simple compression technique which compresses sequences of repeating identical bytes. The encoding rules for this task are as follows: Any sequence of $n$ identical bytes...
posted 5y ago by celtschk · edited 2y ago by trichoplax
| Reputation | 1514 | |
| Number of top-level posts | 28 | |
| Number of answers | 51 | |
| Sum of received votes (up minus down) | 191 | |
| Number of edits made | 74 | |
Earned Abilities
Statistics
| Posts | ||
|---|---|---|
| Count | 79 | |
| Questions | 15 | |
| Answers | 51 | |
| Articles | 13 | |
| Votes cast | ||
|---|---|---|
| Count | 269 | |
| Flags raised | ||
|---|---|---|
| Count | 0 | |
