Problem rightangtri
User yuxiangt
Submission Time 2025-07-30 23:26:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:11:14: error: invalid operands of types ‘int’ and ‘const char [2]’ to binary ‘operator*’
11 | cout<<(n+1)*"*"<<"endl";
| ~~~~~^~~~
| | |
| int const char [2]