Skip to content
This repository was archived by the owner on Jun 26, 2025. It is now read-only.

Commit 72f28c2

Browse files
authored
fix(midi): rearrange prompt
1 parent dee4bed commit 72f28c2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

competition/midi/prob.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ given in the following format:
3232
* `156` (equal to `0x9c` in Base 10), representing turning a note **ON**.
3333
* `<note>` is an integer between 0 and 127.
3434

35-
* If a note is turned on again while it's already held or turned off while it's already released, that message does nothing.
36-
* If a note off and on event are sent on the same frame, those notes do not overlap. The note off events are processed first.
37-
3835
For example, in the following, only at most **1** note is being played at any one instant.
3936
```text
4037
0 156 126
@@ -43,6 +40,10 @@ For example, in the following, only at most **1** note is being played at any on
4340
1000 140 127
4441
```
4542

43+
Note that:
44+
* If a note is turned on again while it's already held or turned off while it's already released, that message does nothing.
45+
* If a note off and on event are sent on the same frame, those notes do not overlap. The note off events are processed first.
46+
4647
## Output
4748

4849
Output a single integer, which is the highest number of notes being played at the same time.

0 commit comments

Comments
 (0)