Problem | diamond |
---|---|
User | donkeykong |
Submission Time | 2023-05-11 14:38:13 |
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: ‘row’ was not declared in this scope; did you mean ‘pow’?
5 | for(row=0; row<radius; i++){
| ^~~
| pow
diamond.cpp:5:25: error: ‘i’ was not declared in this scope
5 | for(row=0; row<radius; i++){
| ^
diamond.cpp:6:7: error: ‘column’ was not declared in this scope
6 | for(column=0; column<=radius; column++){
| ^~~~~~
diamond.cpp:8:16: error: ‘spaces’ 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-linux-gnu/c++/9/bits/stdc++.h:129,