Problem rightangtri
User Leeyee
Submission Time 2025-08-22 16:36:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:7:20: error: ‘n’ was not declared in this scope
7 | for (int i = 0; i<n; i++){
| ^
rightangtri.cpp:8:12: error: invalid operands of types ‘const char [2]’ and ‘int’ to binary ‘operator*’
8 | cout<<"*"*(i+1)<<"\n";
| ~~~^~~~~~
| | |
| | int
| const char [2]