Problem | rightangtri |
---|---|
User | 123456789 |
Submission Time | 2023-04-14 13:28:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
rightangtri.cpp: In function ‘int32_t main()’:
rightangtri.cpp:7:42: error: invalid operands of types ‘const char [2]’ and ‘long long int’ to binary ‘operator*’
7 | for (int i = 1; i <= n; i++) cout << "*"*i;
| ~~~^~
| | |
| | long long int
| const char [2]