| Problem | diamond |
|---|---|
| User | tinyqwertyIII |
| Submission Time | 2026-01-16 14:34:37 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
diamond.cpp: In function ‘int main()’:
diamond.cpp:15:57: error: invalid operands of types ‘char’ and ‘<unresolved overloaded function type>’ to binary ‘operator<<’
15 | cout << string(i, ' ') << string((n-i)*2-1, '*' << endl;
| ~~~~^~~~~~~