Problem musicscales
User Zubair
Submission Time 2026-06-23 16:47:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

musicscales.cpp: In function ‘int main()’:
musicscales.cpp:14:41: error: a function-definition is not allowed here before ‘{’ token
14 | int find_note_index(const string& note) {
| ^
musicscales.cpp:21:12: error: a function-definition is not allowed here before ‘{’ token
21 | int main() {
| ^
musicscales.cpp:42:1: error: expected ‘}’ at end of input
42 | }
| ^
musicscales.cpp:5:16: note: to match this ‘{’
5 | signed main() {
| ^