- Morse code translator - Code Golf Stack Exchange
Write the shortest program to transform the standard input into Morse code Characters not in the table should be printed as they are
- code golf - . -. . . --. . ---. -. . . --. . . . . the red-nosed reindeer - Code Golf . . .
Define the tradfn R, taking left argument D (dictionary word list) and right argument i (the input, i e the song in undelimited Morse code), and having local variables C (word choice array), M (dictionary translated to Morse code), and w (array listing the indices into the dictionary of what the current word could be)
- code golf - Multiply two unit imaginary values - Code Golf Stack Exchange
So it basically turns out that the imaginary unit can be determined by a bitwise xor of the two input values, and it’s the sign that takes more code
- Morse code to standard output - Code Golf Stack Exchange
15 This question involves taking input in Morse code as (period) and - (minus symbol), with spaces to separate the input Your task is to convert the code to standard output
- Code Golf Stack Exchange
Welcome to Code Golf and Coding Challenges Stack Exchange! This is a site for recreational programming competitions, not general programming questions Challenges must have an objective scoring criterion, and it is highly recommended to first post proposed challenges in the Sandbox
- Newest sudoku Questions - Code Golf Stack Exchange
Morse sudo-ku-de Hehe, see what I did with the title? Anyways Your job is to create a sudoku solver that accepts input in Morse code and creates output in Morse code Here's the Morse code numbers for reference: <
- Is this string a palindrome (in Morse Code)?
Explanation Starting from " the end of the code generates the Morse alphabet, with dots as \x08 and dashes as \x07, and separated by tabs c splits the string by the tabs XzG translates (X) the input (z) from the alphabet (G) to this "Morse alphabet" s sums (joins) the Morse symbols together For empty inputs, returns 0, but this is not a
- Make a Valentine wish with your favourite language
Of course "morse" contains the morse code "translated" to numbers: 111131231221312213212231112312312113132132311321313111321131232122 '1' is short, '2' is long and '3' is space Obviously the obligatory 'ethtool' should be installed If not, then do your spouse the favour of doing so
|