Problem | rightangtri |
---|---|
User | ov5rki11 |
Submission Time | 2025-06-19 16:11:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:4:51: error: invalid operands of types ‘const char [2]’ and ‘int’ to binary ‘operator*’
4 | int n; cin >> n; for(int i=0;i<n;i++){cout << "*"*i << "\n";}}
| ~~~^~
| | |
| | int
| const char [2]