Problem rightangtri
User andthatsallshewrote
Submission Time 2025-07-22 16:31:10
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]