Problem | diamond |
---|---|
User | Johnnie |
Submission Time | 2023-06-22 09:57:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
diamond.cpp: In function ‘int main()’:
diamond.cpp:14:39: error: invalid operands of types ‘char*’ and ‘int’ to binary ‘operator^’
14 | fill(*matrix, *matrix + (n * 2 - 1) ^ 2, ' ');
| ~~~~~~~~~~~~~~~~~~~~~ ^ ~
| | |
| char* int