Problem diamond
User Red123
Submission Time 2025-08-13 16:10:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

diamond.cpp:19:11: error: missing terminating " character
19 | cout << "\";
| ^~~~
diamond.cpp: In function ‘int main()’:
diamond.cpp:8:2: error: ‘j’ was not declared in this scope
8 | j += n - 1;
| ^
diamond.cpp:20:3: error: expected primary-expression before ‘}’ token
20 | }
| ^