Problem diamond
User Denzio321
Submission Time 2023-02-01 20:43:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

diamond.cpp: In function ‘std::string get_line(int, int, int)’:
diamond.cpp:11:8: error: expected ‘;’ before ‘}’ token
11 | i++
| ^
| ;
12 | }
| ~
diamond.cpp: In function ‘int main()’:
diamond.cpp:43:7: error: expected ‘(’ before ‘hold’
43 | if hold == 1 break;
| ^~~~
| (