instruction
stringlengths
34
53.1k
Given an integer n as input write a program to output the numbers of digit in it. Input 12346 456 Output 5 3 Constraint n<=10^9
In this challenge, you must take multiline ASCII art as input, such as: OOOOOO OOOOOO OOOOOO OOOOOOO OOOOOO OOOOOO OO OOOOOOO OO OO OO OO OO OO OO OO OO OO OO OO OO OO OO OO OOOOO OO OOO OO OO OO OOOOO OO OO OO OO OO OO ...
The goal is to calculate the output speed of a series of cogs. The winner will be chosen by popular vote. The arrangement of cogs is defined in an ASCII-art string: O large cog o medium cog * small cog - axle (one or more in a row) = chain (one or more in a row) An example input is: o*-O*==oO o medium cog, ...
Given a board, write the shortest program or function to display or return which characters are in sight of the player. A character is in sight if is possible to draw a line between it and the player, without crossing any characters that block vision. Input: @ represents the player's position. There will only be one o...
Write a program that prompts the user for an even integer greater than 2. Given Goldbach’s conjecture that every even integer greater than 2 can be expressed as the sum of two primes, print out two prime numbers which, when added together, provide the requested even number. Edit: the program only has to print A PAIR ...
Six degrees of separation is the theory that everyone and everything is six or fewer steps away, by way of introduction, from any other person in the world. Your challenge here is to write a program which crawls to find out what is exactly 6 links away but connected back to the starting URL through a series of links. F...
In this challenge, you must write a Hello World program that is both short and complex. We measure complexity by Cyclomatic McCabe complexity, and length by the number of bytes (not characters). Score = complexity / bytes For example, if the cyclomatic complexity is 5 and you use 100 bytes, your score is 5/100=0.05. ...
Definition: a set is a datatype which allows testing of inclusion ("does set X contain element Y?") but does not have order. Its size is the number of distinct elements it contains. Define an efficiently invertible injection from sets of k integers in the range 0 to 1000 inclusive to sets of k+1 integers in the range 0...
Your job is write a program that prints all times (in the format HH:MM, 24 hours) that follow any of the following patterns: Hours equal to minutes, e.g. 22:22,01:01 Hours equal to reverse minutes, e.g. 10:01, 01:10, 22:22 Sequences, that match H:MM, or HH:MM, always printed with HH:MM. E.g. 00:12, 01:23, 23:45, 03:45...
Given A and B, where A is the scale of a Digital LED Pattern B. Parse pattern B and print the number. input: 1 _ _ _ _ _ _ _ _ _ _ _ _ _| _| _|| ||_||_ ||_ |_|| | ||_||_||_ ||_| |_ _||_ |_| | _| ||_| ||_| | | | _| ||_| output: 2320451640799518 input: 2 __ __ | | __| __|...
Initech are setting up an office of 36 employees in a soul-crushingly efficient square of cubicles, 6 desks long and 6 desks deep. Management has bought wireless keyboards in bulk from a cheap, international wholesaler. IT are quickly discovering that the wireless keyboards only operate on 3 different radio frequenci...
The code should take input a text (not mandatory can be anything file, stdin, string for JavaScript, etc): This is a text and a number: 31. The output should contain the words with their number of occurrence, sorted by the number of occurrences in descending order: a:2 and:1 is:1 number:1 This:1 text:1 31:1 Notice th...
The Task Write a program, in the language of your choice, that reads lines of input from standard input until EOF, and then writes them to standard output in ASCIIbetical order, similar to the sort command-line program. A short, non-underhanded example in Python is: import sys for line in sorted(sys.stdin): print...
This challenge is a cut'n paste from Enlarge ASCII art, but reversed, using PetSCII based half-block chars: string=" ▝▘▀▗▐▚▜▖▞▌▛▄▟▙█" There, PetSCII is emulated by using UTF-8 characters, you may found between U+2580 UPPER HALF BLOCK and U+259F QUADRANT UPPER RIGHT AND LOWER LEFT AND LOWER RIGHT. So the goal is to red...
Over on http://meta.stackoverflow.com, we have a few memes of our own. One of them is Freehand Red Circles. See this post: So, the challenge is, can you draw freehand red circles... with code? Additional restrictions: You will take an image as input, and you must output the image with freehand red circle added. Must ...
Write a function with a single string parameter and a boolean return value. The function should return true iff the string is a palindrome character-wise. Alternatively, write a program that reads a string from standard input and writes 1/0 to standard output depending on whether the string is palindrome or not. The co...
In light of the 2014 Australian Open in Melbourne, and the win by Stanislas Wawrinka against Novak Djokovic, I propose the following code golf challenge! Wawrinka and Djokovic are at it again for the basis of this CGC. Your challenge is to take a string consisting of 1's and 2's and determine the tennis scores based on...
As a kid my sister showed me this little love calculation to see how much chance you have of getting in a successful relationship with your crush. All you need is 2 names and a piece of paper. John Jane Then, you separate these names with the word Loves. You can either write this on one line or on new lines. Joh...
Given integers a and b in the format a√b (a on the square root of b), make a program that will reduce b and increase a until the radical statement is fully simplified. Example input a = 1 b = 16 output 4 root 1 In this instance, 1√16 = 4√1 Bonus - 25 chars for the ability to simplify radicals other than square root...
Your task is to hide a small message or string inside a larger block of text. To do so, you must hide the message as capital letters inside the larger For the quoted test: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut convallis porta varius. Donec loBortis adipiscing dolor ac Euismod. Ut Mincidunt eY ...
Goal The program's goal is to draw an ASCII art rectangle repeatedly doubled in size, alternating horizontally and vertically. Each time the rectangle doubles in size, the extra area is represented by a different character and the previous areas remain unchanged. The two smallest sections contain one character each a...
Write a program that erases itself. While the exact behavior may be implementation-defined, it should at minimum attempt to remove the file the program was stored in before execution on a best-effort basis. This is a popularity-contest, so the answer with the most upvotes will win.
Your goal is to write a hash function, that accepts morse code character and returns a hash code that you get to define. You can be sure, passed string will be: One of the Latin characters (A-Z) encoded into Morse Code using . and -, or One of the digits (0-9) encoded into Morse Code using . and -, or Empty So, there...
The problem is defined as follows: Create a function that takes an integer and returns a list of integers, with the following properties: Given a positive integer input, n, it produces a list containing n integers ≥ 1. Any sublist of the output must contain at least one unique element, which is different from all othe...
Your challenge is to interpret a circuit diagram, complete with logic gates. Logic gates (you don't actually need to know what these do / are to complete this challenge): and gate: a or gate: o nand gate: A nor gate: O xor gate: x xnor gate: X not gate: ~ Each gate but the last one takes two inputs. Inputs are from a...
Create a program that, given a name as input, will generate a Valentine’s day greeting card featuring that name, with its source code also having a Valentine’s day theme. The greeting can be either ASCII art or a generated picture. Additional conditions: The source code has to look like something Valentine's day theme...
Write an expression evaluator for boolean expressions encoded as JSON. Read on for explanation and rules. Motivation: Consider a scenario where two agents (Alice and Bob) are communicating with each other under the following constraints: All communication must be done as valid JSON strings (no JSONP or extensions), be...
So, I want you to make a PNG image that says "Hello world!" and nothing else on a distinguishable background using only an image making API (eg ImageMagick) and return the image. Fewest characters win, as usual. Oh, and you can use any color text.
Task: Make a program that generate a 24-digit password. Rule: None of the character can be repeated more than once Must include at least one upcase, one locase, one number, five special character. The answer which got most votes win. SPECIAL CHARACTER LIST: `~!@#$%^&*()_+-={}|[]\:";'<>?,./ or other
Write a program that after running will show how many times it was ran before. You are only allowed to modify the executable itself (the code itself, or compiled version of your code), you cannot modify anything else or create new files. Example: $ ./yourprogram 0 $ ./yourprogram 1 $ ./yourprogram 2
In any programming or scripting language x, write a program that takes a valid brainfuck sourcecode from stdin and output, to stdout, the sourcecode of a program, written in language x, that would output the exact same thing as the brainfuck program would do. Your program must work for any valid brainfuck program, inc...
TASK: Make an acrostic poem in the lines. e.g. BATCH break attrib -h acrostic.txt type acrostic.txt cls help The output CAN also be an acrostic poem. RULES: Popularity Contest - the answer with highest vote wins! You may create more than one. Any language is accepted. Every line must be executable.
Your task is to build an interpreter to the Useless language: Here are the functional requirements: All the described commands should be accepted by the interpreter. NO., NOOP and INCLUDE-xxx must be honored. DONTUSEME(n) must have its base date to be easily configurable to something more reasonable for testing purpos...
You are required to find how many triangles are unique out of given triangles. For each triangle you are given three integers a,b,c , the sides of a triangle. A triangle is said to be unique if there is no other triangle with same set of sides. Note : It is always possible to form triangle with given sides. INPUT: Firs...
I once encountered this (mini) game where you had 4 or more vertical pipes that were connected by a number of horizontal pipes and you have to drop a ball or water into the vertical pipes. There are 2 kinds I know of: Get the object into a bucket/basket under one of the exits (guess what pipe to throw it in) Guess w...
The task is to build a numerical library for working with arbitrarily large integers that supports the following operations: addition subtraction multiplication division modulo operation However, the library must not use any primitive data types or arrays, neither directly nor indirectly (including booleans). For exa...
This is going to be relatively challenging code-golf challenge. Input: Any URL, must have the protocol attached, e.g. http://codegolf.stackexchange.com (which will be our test case) Output: A generated QR Code that represents this URL, which, when scanned by a smart device will take you to that URL on the smart device'...
Intro I guess most people are familiar with the game Lights Off, but in case someone isn't, here is a short description: You start with an NxN grid where each cell in the grid is a light. For this example N=5. There are 2 ways the game can start: either all of the lights are on, or some lights are off. The goal is t...
Using any programming language that supports functions, have the function is_enough(strArr) that take strArr which will be an an array consisting of the following elements: N which will be the number of gas stations in a circular route and each subsequent element will be the string g:c where g is the amount of g...
Using a language of your choice write a program that takes a string as an input, and returns the string encrypted. Algorithm: You should assume that each character is always encoded in a byte and is ASCII-based. The extended ASCII codes are mapped to whatever is the default code page in use by the system. You should en...
Introduction: Deep Thought calculated The answer to life the universe and everything in a period of 7.5 million years, the solution was 42. Write a program in any programming language that takes approx 75 seconds to calculate, starting from whatever you want, and output the number 42. N.B. The number 42 must be calcula...
Make an animated sound waveform using any programming language your prefer, the squares of the spectrum can be of a single color (no rainbow effect). The animation must be infinite and not a loop sequence (must be a random animation). You can use any kind of external library you prefer. This is a code-golf so the sho...
Your challenge today is to refactor JavaScript code. You will take three strings as input; a JavaScript string, a old variable name, and the name you want to refactor it to. For example, an input of "var x = 100; alert(x);", "x", "num" Will output "var num = 100; alert(num);" Here's a more advanced test case: "var g...
I think everyone is familiar with the game of darts. For those that don't understand the scores, here is a useful link. The board A dartboard can be compared to a pie cut in 20 pieces. Each piece is divided in 4 sections. a small outer ring called "double" (points x2) a big ring called "single" (points x1) another sma...
I used to play the oboe, the instrument that is, for some reason, used to tune the orchestra to A440. Anyways, continuing on with my story, I was bad at it and quit. Write a program that generates a valid, full scale, 5 second, WAV file with a sample rate of 44.1 kHz that plays a 440 Hz (+3/-1 Hz) tone. Your code is r...
You have to output the alphabet (upper case) with the shortest code possible. Exact output expected : ABCDEFGHIJKLMNOPQRSTUVWXYZ
Given an alphabet and a string, your job is to create the Lempel–Ziv–Welch compression of the string. Your implementation can either be a function with two parameters and a return value, or a full program that uses stdin and stdout. Input The alphabet, in the form of a string, from which you will have to create the...
For this, imagine that the following words are really nasty cuss words: Frag, Smeg, Felgercarb, Blatherskite, Dadgum, Fnord, Smurf, Schmit Now, I need to filter out swear words on my website. Normally the site will search for these words and ** them out: I hate this s****ing cussword filter! It won't let me f***ging s...
Who doesn't love the Pythagorean theorem \$a^2+b^2=c^2\$? Write the shortest method you can in any language that takes in value a and b and prints out The hypotenuse of this right triangle is c. Keep c to only three decimal places.
In the New Modern Times, when Charlie Chaplin encounters a computer, he is employed in the sorting Yard, as a validator to determine if the workers are correctly sorting the items. The Items in question are packets of marbles. Packets with Odd number of Marbles are stacked in the Red Basket and Packets with Even Number...
Challenge Given an email in plain text format, including headers, decide if the email is either spam or ham, and output SPAM or HAM respectively. The emails will be given below. Your code must be able to correctly identify all of the samples, but should be general enough to work on any email. Scoring This is a code go...
This is similar to a previous question on this site, but with much simpler rules, so we should get much shorter results (in bytes): Input: ASCII art with only two possible characters: space and '#'. Output: Input sequence rotated 90 degrees counter-clockwise. Winner is answer with least number of bytes including len...
Given the scheme of the fleet of the human player, let the user choose which coordinates attack each turn. The "computer player" will then attack on its turn following the classic rules of battleship. (The computer player must be able to win, you can't make the computer attack every turn the same cell) The schemes must...
The unnecessary and convoluted story I am walking around manhattan, block by block and my feet have gotten tired and want to go back home. The traffic is pretty bad, but fortunately I'm very rich and I have a helicopter on standby at the hotel. But I need them to know how much fuel to pack for the flight and for that t...
Your goal is to write the shortest program that outputs "Hello-World!" as ASCII art. Rules : It must be human readable, I don't care about it's size (cols/rows) Output must contain only spaces (" "), sharps ("#") and newlines The output must work with a monospaced font (but the letters doesn't necessary use a monospa...
Given an integer array. You have to check whether it is possible to divide the array in two parts such that the sum of elements of one part is equal to the sum of the element of the other part.If it is possible print "YES" otherwise "NO". Sample Input 4 3 5 5 3 Sample Output YES Explanation Array can be divided in tw...
Your challenge is to golf a program that mimics a data transmission stream. Your program should read input from stdin and output it directly to stdout. To make the problem more interesting, the output stream is 'faulty', and must meet several requirements: There should be a 10% chance that each character is shifted +1...
Write a software that prints on stdout the number of answers and the number of comments(visible and collapsed of question and answers) of this question/page. Your script must run with this page closed when it starts. Expected example output: A12C40 Where A stands for Answers and C for Comments.
A string like this one: "a, 4.25, ((true, 5), 3, (false, false, false)), abc" Describes a tree with 13 nodes, 9 of which are leaf nodes. In C# the leaf nodes in this example would be of types string, float and bool, this differs between languages and depending on your implementation. The important structure forming sym...
Write a program that prints the current time in a digital watch. Rules: The program must use the local timezone. Time is expressed between 00:00 to 23:59 (with only hours and minutes). The program must follow the output rules. The smallest program wins. Output (see example): Each digit is represented by 4×3 matrix o...
Your goal is to draw the Linkin Park Logo in minimum bytes. Please add a title with the language and the number of bytes in your code.
In mathematics, tetration is the next hyper operator after exponentiation, and is defined as iterated exponentiation. Addition (a succeeded n times) Multiplication (a added to itself, n times) Exponentiation (a multiplied by itself, n times) Tetration (a exponentiated by itself, n times) The inverse relations of te...
Ok lets say we get a input the following csv file (all entries are quoted strings) ID, Before, After, Value 1, 3, 5, Cat 2, 5, , Apple 3, 4, 1, Dog 4, , 3, Elephant 5, 1, 2, Banana Output a csv file in which the entries...
Situation: You are a high school teacher, teaching your computing class how to write C programs. However, since it is just the beginning of the term, you haven't taught them about the importance of indentation and spacing. As you are marking their work, your eyes hurt so much you scream in agony, and realise that this ...
Isolated prime definition from Wikipedia: An isolated prime is a prime number p such that neither p − 2 nor p + 2 is prime. In other words, p is not part of a twin prime pair. For example, 23 is an isolated prime since 21 and 25 are both composite. Consider strings which consists of character x repeated n times, wher...
The point of the puzzle is to learn about livelocks: Create a multi-threaded (or a multi-process) program, whose threads (processes) indefinitely try to wait for each other and never finish. Unlike a deadlock situation, the state of threads (processes) in a livelock constantly change as they try to resolve the situatio...
Try to regenerate the olympic theme song, "Bugler's Dream" using the programming language of your choice. The language/platform used must be able to emit the physical sound. Only playing the main melody (trumpets) is required, but doing more would be great. You must generate all the tones yourself - you cannot play bac...
I have this function to generate UUID's: function uuid($v=4,$d=null,$s=false)//$v-> version|$data-> data for version 3 and 5|$s-> add salt and pepper { switch($v.($x='')) { case 3: $x=md5($d.($s?md5(microtime(true).uniqid($d,true)):''));break; case 4:default: $v=4;for($i=...
Goal Use any graphics library or environment that can use colours and animation to create a rainbow. Rules The rings should emerge one by one in some kind of animation or succession The rainbow must have at least 7 colours. Winning Criteria Fewest bytes wins.
Today our lesson is about rectangles and triangles. you will be given as an input an n x n grid that is based on two characters # and * you have to classify it into : triangle or rectangle. where # represents a point and * represents a blank space. Example input: #*** ##** ###* #### Output: triangle Another exa...
A subsequence is a sequence that can be derived from another sequence by deleting some elements without changing the order of the remaining elements. Given three strings A, B and C (note the order) as input, find the length of the longest string S such that: Condition 1: S is a subsequence of A Condition 2: S is a sub...
The task The task is to write a program that turns a list of IPv6 addresses into a shortest possible list of CIDR masks, such that everything but those IPs is matched. CIDR masks A CIDR mask matches IPs by a prefix. ::/19 matches all IPs whose first 19 bits are zero, i.e. 0:0000-1fff:*:*:*:*:*:*. Similarly, 55aa::/16 ...
You are a contractor for a company who designs electrical circuits for the various products they make. One day, the company accidentally gets a huge shipment of one-ohm resistors and absolutely nothing else, and give you the task of putting them to good use in the newest products they're making. Your task is to build a...
I wrote some text, but it looks too professional. I want to make it look like I was really tired when I wrote it. I need you to insert some typos. Your challenge is to take an arbitrary single line of text, and add typos. This means that for each character, there will be a 10% chance for it to be typofied. The definiti...
  Project Euler is another fun programming challenge site to compete (well, play) on. Early problems start off gently, but then explode in difficulty beyond the first hundred or so. The first few problems have some commonality between finding primes, multiples, and factors, so there could be some interesting code micr...
Your task is to write a function that sorts an array. Your function: Cannot call other functions (excluding itself, of course); Must receive an array of integers as input, and it must return the ordered array. Feel free to add other parameters as input, if you need them. Cannot use any kind of loop (for, while...) ...
Based on the question How many positive integers < 1,000,000 contain the digit 2?. I'm looking for the most creative solution to count all the Integers from X to Y containing the Integer Z. Z can be from 0 to Y. Every found Integer only counts once, even if the integer Z appears more often. For example: Z = 2 123 coun...
Create a Tic-Tac-Toe game that allows two human players to play against each other using two networked devices. Requirements: Network play. Program must let both players know whose turn it is. Program must show who won and how (like drawing a line through the three in a row). Graphical game board displayed for both...
Given a string of unsorted alphanumeric characters, e.g. ABC321STPpJqZZr0 output a ", "-separated list of character ranges, sorted by ASCII value, ignoring case and removing duplicates (i.e. outputting only uppercase and numeric characters), e.g. 0-3, A-C, J, P-T, Z Rules The length of your program is your base scor...
Write the most creative program to display your Valentine wish to your favorite programming language, in that language. E.g. #!/usr/bin/perl use Modern::Perl; say "I love Perl";
Inspired by ecofont. Given a string containing # and , output it more eco-friendly by cutting out circles, while keeping it "recognizable" (defined later, in the Circles section). # represents black, and represents white. This program is supposed to do something like this: Input: #################### #################...
Code-golfing is incredibly fun to do, trying to solve the given problem is one thing but the real challenge is getting your code as short as possible. Some languages are perfect for golfing because of their short commands, sadly Delphi isn't one of them. I'm looking for tips that are useful for golfing in Delphi. Tips...
Write a program in the minimum number of bytes that prints a string split into chunks of every length from 1 to the string's length (ascending and then descending), separated by spaces. Example Input : abcdef Output: a b c d e f ab cd ef abc def abcd ef abcde f abcdef abc...
I thought it might be fun to throw this on here. Generate an ASCII-art for one of your favorite videogames. What you want to generate is up to you but it should meet 2 requirements. It should be able to identify the game. So either a logo or something familiar like the triforce in Zelda. a pokeball for pokémon or an...
It's asked to write a script to generate a source data to feed a JavaScript renderer. JS Renderer documentation The JS renderer is this script: function o(x){ r=x.split(' '); (d=document).write('<style>i{position:absolute;width:10;height:10;background:#000}</style>'); for(i=0;i<r.length;++i){c=r[i].split(',');d.w...
Windows Batch (CMD) is probably the least suitable language for code golfing. Avoid newline characters. If you're looking for the shortest code in bytes, as opposed to characters, you will want to get rid of all unnecessary carriage returns (newline characters = 2 bytes). You can use the & operation to do this, trimmin...
Post an answer to this question that evaluates any answer to this question and determines whether it wins. Who wins: Winner is the answer that wins according to the most answers at 1700 UTC, Sunday, March 2nd. You are welcome to and encouraged to change your own answer as the contest progresses. Please do not change ...
Create an analogue clock Goal: To create a working analogue clock using any programming language. Requirements: Your clock should feature at least the hour and minute pointers. The produced clock could be in the form of an image, an animation or ASCII-art. It is expected that the clock shows local time. Optional: Yo...
Your task is to reverse the order in which some prints get executed. Specs: Your code will be in this form: //some lines of code /*code*/ print "Line1" /*code*/ /*code*/ print "Line2" /*code*/ /*code*/ print "Line3" /*code*/ /*code*/ print "Line4" /*code*/ //some lines of code You will have to print (or echo, or wr...
I think the ASCII art questions on PPCG are fun to do, but personally I think it can be pretty hard, especially when the question is tagged as code-golf. I wonder if anyone here might have some tips that will be useful for producing ASCII art. Simply arranging characters is easy, but with (short) algorithms, things wil...
Given a paragraph of text, and a list of k words, write a program to find the first shortest sub-segment that contains each of the given k words at least once. The length of a segment is the number of words included. A segment is said to be shorter than another if it contains less words than the other structure. Ignor...
Create a basic calculator for Roman numerals. Requirements Supports +,-,*,/ Input and output should expect only one subtractor prefix per symbol (i.e. 3 can't be IIV because there are two I's before V) Handling of the subtraction principle in input and output must at minimum support modern standard conventions, in whi...
Everyone's been freaking out about that stupid "Flappy Bird" game being removed. So, your task is to crate a Flappy Bird Clone game. Its really simple. Here are the guide lines: It can use either ascii art or real images You can make your "bird" flap with either a click or a key press It should try to be as short as p...
Your mission is to write 2 functions that accept a list of N integers (positive or negative). N can be higher than 2. The first one returns the greater common divisor of the N numbers Example: [10, 15, 20] -> 5 the second one returns the smallest common multiple of the N numbers Example: [10, 15, 20] => 60 Smallest cod...
The goal is to create a preprocessor for the C language, as small as possible in terms of source code size in bytes, in your preferred language. Its input will be a C source file, and its output will be the pre-processed source code. The items that it will need to be able to process shall be: Comment removal (line/bloc...
This is a pure code-golf question. Input: A non-negative integer n Output: Sum of the indices of the second least significant set bit in the binary representation of the integers 0...n. If the number doesn't have two set bits then the contribution to the sum should be zero. Your code should be runnable on a standard l...
You may have seen this one in Die Hard: With a Vengeance... This question is based on the famous 3 and 5 Litre Jug Puzzle, but with a slightly different slant. Golf up some code that when given an integer between 1 and 100 will provide you with the quickest instructions to measure out into a tank, the corresponding num...
I got the following question at a test: Write a function f with the following type a -> b -> (a -> b). a and b should not be bound in any sense, the shorter the code, the better. I came up with f a b = \x -> snd ([a,x],b). Can you find something tinier? Currently the winner is: f _=(.f).const
The challenge is to make any Roman numerals valid code in your chosen language. They should not appear inside of strings or anything similar, but work just like any other tokens, literals such as (Arabic) numbers, characters or strings; or variable/method/function identifiers, etc. For instance, in Java, the following...
Context It's Valentines Day. The only one you ever loved left you yesterday for this guy she always found "stupid and uninteresting". On your way home, you've been stuck in traffic, listening to old songs on the radio, the rain hitting the windscreen is rocking you. After a while in your car, you find yourself...