Main.cpp:10:7: error: invalid preprocessing directive #If; did you mean #if?
10 | # If there's only one checkpoint, scenic score is always 0
| ^~
| if
Main.cpp:10:15: warning: missing terminating ' character
10 | # If there's only one checkpoint, scenic score is always 0
| ^
Main.cpp:16:7: error: invalid preprocessing directive #Build
16 | # Build difference array d[i] = a[i+1] - a[i]
| ^~~~~
Main.cpp:18:7: error: invalid preprocessing directive #Initial
18 | # Initial total scenic score = sum of absolute differences
| ^~~~~~~
Main.cpp:23:11: error: invalid preprocessing directive #Convert
23 | # Convert to 0-based
| ^~~~~~~
Main.cpp:26:11: error: invalid preprocessing directive #Update
26 | # Update the difference at l-1 if l > 0
| ^~~~~~
Main.cpp:33:11: error: invalid preprocessing directive #Update
33 | # Update the difference at r if r < n-1
| ^~~~~~
Main.cpp:1:1: error: 'import' does not name a type
1 | import sys
| ^~~~~~
Main.cpp:1:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'