Problem diamond
User donkeykong
Submission Time 2023-05-11 14:40:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

diamond.cpp: In function ‘int main()’:
diamond.cpp:7:7: error: ‘column’ was not declared in this scope
7 | if(column>1)
| ^~~~~~
diamond.cpp:8:15: error: ‘space’ was not declared in this scope; did you mean ‘std::filesystem::space’?
8 | int space;space=c;
| ^~~~~
| 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,
from diamond.cpp:1:
/usr/include/c++/9/bits/fs_ops.h:289:14: note: ‘std::filesystem::space’ declared here
289 | space_info space(const path& __p, error_code& __ec) noexcept;
| ^~~~~
diamond.cpp:9:14: error: expected ‘;’ before ‘)’ token
9 | for(space)
| ^
| ;
diamond.cpp:11:3: error: expected primary-expression before ‘}’ token
11 | }
| ^
diamo