Problem rightangtri
User tjy9
Submission Time 2026-05-12 10:56:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:6:11: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
6 | char s = "*"
| ^~~
| |
| const char*
rightangtri.cpp:7:2: error: expected ‘,’ or ‘;’ before ‘cin’
7 | cin >> n;
| ^~~
rightangtri.cpp:8:22: error: ‘d’ was not declared in this scope
8 | for (int i = 1; i > d; i++) {
| ^