| Problem | diamond | 
|---|---|
| User | donkeykong | 
| Submission Time | 2023-05-11 14:39:29 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 diamond.cpp: In function ‘int main()’:
diamond.cpp:5:6: error: ‘r’ was not declared in this scope
    5 |  for(r=0; r<radius; r++){
      |      ^
diamond.cpp:6:7: error: ‘c’ was not declared in this scope
    6 |   for(c=0; c<=radius; c++){
      |       ^
diamond.cpp:7:7: error: ‘column’ was not declared in this scope
    7 |    if(column>1)
      |       ^~~~~~
diamond.cpp:8:16: error: ‘spaces’ was not declared in this scope
    8 |     int spaces;spaces=column;
      |                ^~~~~~
diamond.cpp:8:23: error: ‘column’ was not declared in this scope
    8 |     int spaces;spaces=column;
      |                       ^~~~~~
diamond.cpp:9:9: error: ‘space’ was not declared in this scope; did you mean ‘std::filesystem::space’?
    9 |     for(space)
      |         ^~~~~
      |         std::filesystem::space
In file included from /usr/include/c++/9/filesystem:39,
                 from /usr/include/x86_64-lin