Problem rightangtri
User meal
Submission Time 2024-11-07 16:13:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:5:12: error: expected ‘;’ before ‘n’
5 | int n; cin n;
| ^~
| ;
rightangtri.cpp:7:15: error: invalid operands of types ‘const char [2]’ and ‘int’ to binary ‘operator*’
7 | cout << "*" * i;
| ~~~ ^ ~
| | |
| | int
| const char [2]