Problem mountains
User samvar0907
Submission Time 2024-11-08 16:24:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mountains.cpp:40:3: error: invalid preprocessing directive #Main
40 | # Main logic
| ^~~~
mountains.cpp:2:9: error: expected class-name before ‘__init__’
2 | def __init__(self, size):
| ^~~~~~~~
mountains.cpp:2:9: error: expected ‘{’ before ‘__init__’
mountains.cpp:2:18: error: ‘self’ was not declared in this scope
2 | def __init__(self, size):
| ^~~~
mountains.cpp:2:24: error: ‘size’ was not declared in this scope
2 | def __init__(self, size):
| ^~~~
mountains.cpp:2:28: error: expression list treated as compound expression in initializer [-fpermissive]
2 | def __init__(self, size):
| ^