Problem rightangtri
User SharinSage
Submission Time 2025-10-22 12:05:35
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 << "\n";
| ~~~ ^ ~
| | |
| | int
| const char [2]