Problem diamond
User JAMALSGOODATROBOTICS
Submission Time 2025-02-10 19:54:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

diamond.cpp:2:7: error: invalid preprocessing directive #Upper
2 | # Upper half including middle row
| ^~~~~
diamond.cpp:8:7: error: invalid preprocessing directive #Lower
8 | # Lower half
| ^~~~~
diamond.cpp:14:3: error: invalid preprocessing directive #Read
14 | # Read input and call function
| ^~~~
diamond.cpp:1:1: error: ‘def’ does not name a type
1 | def print_diamond(n):
| ^~~