Problem rightangtri
User blob
Submission Time 2023-11-10 14:21:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp:1:1: error: ‘include’ does not name a type
1 | include <bit/stdc++.h>
| ^~~~~~~
rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:4:9: error: ‘cin’ was not declared in this scope
4 | int n; cin >> n;
| ^~~
rightangtri.cpp:8:3: error: ‘cout’ was not declared in this scope
8 | cout << "*" * array[n] << ' ';
| ^~~~
rightangtri.cpp:8:15: error: invalid operands of types ‘const char [2]’ and ‘int’ to binary ‘operator*’
8 | cout << "*" * array[n] << ' ';
| ~~~ ^ ~~~~~~~~
| | |
| | int
| const char [2]