Problem rightangtri
User andthatsallshewrote
Submission Time 2025-07-22 16:30:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:9:15: error: invalid operands of types ‘const char [2]’ and ‘int’ to binary ‘operator*’
9 | cout << "*" * (i + 1) << "\n";
| ~~~ ^ ~~~~~~~
| | |
| | int
| const char [2]
rightangtri.cpp:11:1: error: expected ‘}’ at end of input
11 | }
| ^
rightangtri.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^