Problem rightangtri
User Dcxz
Submission Time 2026-06-14 21:46:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:11:7: error: ‘i’ was not declared in this scope
11 | for (i = 0; i < n; i++) {
| ^
rightangtri.cpp:12:15: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
12 | char tree = "";
| ^~
| |
| const char*
rightangtri.cpp:15:16: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
15 | tree = tree + "*";
| ~~~~~^~~~~
| |
| const char*