No.8131 <strong>Note that, for the song given in this problem, it is guaranteed that notes of the same pitch never sound consecutively without a rest between them.</strong>
タグ : / 解いたユーザー数 27
作問者 : 👑
Problem Statement
Transcribe by ear the main lead (square wave) of the song that can be heard from the shared link above. The song starts at exactly $1$ second.
This song is at BPM $120$ in $4$/$4$ time, and its length is $4$ measures. The tuning is $12$-tone equal temperament with A440 (A=440Hz).
Output Format
- Describe the melody of the main lead in units of $16$th notes in the following format, and output it in $64$ lines. More precisely, let $T_n$ seconds $(T_n=1+n/8)$ be the time $n/4$ beats after the start of the song (exactly $1$ second), and on the $i$-th line $(1\le i\le 64)$, output the melody of the main lead in the interval from $T_{i-1}$ seconds to $T_i$ seconds in the following format.
- If the main lead is sounding, output the letter representing the note name and the integer representing the octave, separated by a space (details of the format are described below).
- If the main lead is not sounding, output only
R, which represents a rest.
- Even if all pitches and rhythms are correct, the verdict will be WA if only the note values (the lengths until the rests) are wrong.
- For the song given in this problem, it is guaranteed that between $T_{i-1}$ seconds and $T_i$ seconds, neither whether the main lead is sounding nor its pitch (if it is sounding) changes.
- Note names use the English notation
C,D,E,F,G,A,B, and uppercase English letters must be used. Substituting these with the lowercase lettersc,d,e,f,g,a,bis not allowed.
- For a sharp, write
#after the letter representing the note name (e.g.C#,F#). Do not put any character, including delimiters, between the letter and#.
- In the judge of this problem,
E#andB#are not allowed.
- In the judge of this problem,
- For a flat, write
bafter the letter representing the note name (e.g.Eb,Bb). Do not put any character, including delimiters, between the letter andb.
- In the judge of this problem,
CbandFbare not allowed.
- In the judge of this problem,
- In the output format of this problem, there are no characters corresponding to the natural sign, double sharp, double flat, and so on.
- Enharmonic equivalents (such as
C#andDb) are all allowed except for the aforementionedE#,B#,Cb,Fb, and mixing both is also allowed.
- For a sharp, write
- The integer representing the octave is defined so as to satisfy the following.
- Middle C $(440\times 2^{-\frac{3}{4}}\,\mathrm{Hz}\approx 261.6\,\mathrm{Hz})$ is
C 3(note that it is notC 4or the like). - For a note represented by $P$ $N$ ($P$ is the letter representing the note name and $N$ is the integer representing the octave), the note 1 octave above it is $P$ $(N+1)$, and the note 1 octave below it is $P$ $(N-1)$.
- The integer representing the octave of a note whose note name is not
Cis equal to the integer representing the octave of the note a semitone below it. -
The following are examples.
- The note 1 octave above
C 3isC 4. - The note 1 octave below
C 3isC 2. - The note a semitone above
C 3isC# 3orDb 3. - The note a semitone below
C 3isB 2.
- The note 1 octave above
- In this notation, the frequency of the note represented by
A 3is exactly $440\,\mathrm{Hz}$.
- Middle C $(440\times 2^{-\frac{3}{4}}\,\mathrm{Hz}\approx 261.6\,\mathrm{Hz})$ is
-
In this problem, an output exactly the same as the previous line can be represented by outputting only
..
- It is also allowed to output exactly the same as the previous line without using
., and it is also allowed to mix lines that use.and lines that do not. - If you write
.on the $1$st line, the verdict will be WA.
- It is also allowed to output exactly the same as the previous line without using
Please also refer to the sample output.
Input
There is no input for this problem. It may be possible to get AC even with a Text submission.
Output
Output the result of your transcription in the specified output format.
Sample
Sample 1
Input
https://drive.google.com/file/d/14rUIQJMUniMZUeH0ktik8oArvfOHGGE-/view?usp=drive_link
There is no input for this problem, but the URL of sample.mp3 is included for the "Copy input sample" button.
sample.mp3 - Google Drive (This is the same link as the URL above.)
Output
D 4 . . . A 3 . Bb 3 . R . Bb 3 . A 3 . D 3 . R . F 3 . E 3 . Bb 3 . A 3 . D 4 . C# 4 . F 4 . E 4 . D 4 . C# 4 . A 3 . R . Bb 3 A 3 Bb 3 . D 3 . R . Bb 3 A 3 Bb 3 . C# 3 . D 3 C# 3 D 3 . E 3 . F 3 .
This is a correct output for sample.mp3, not for problem.mp3. Submitting this sample output will result in WA.
In this sample output, an extra blank line is inserted after every $1$ measure ($16$ lines). In the judge of this problem, as long as a delimiter exists at each position of a line break or space in the output format and there is no delimiter between the letter and # or b, the number and type of delimiters do not matter.
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。