Problem rightangtri
User blob
Submission Time 2023-11-10 14:21:39
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 <bits/stdc++.h>
| ^~~~~~~
rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:5:2: error: ‘cin’ was not declared in this scope
5 | cin >> n;
| ^~~
rightangtri.cpp:9:3: error: ‘cout’ was not declared in this scope
9 | cout << "*" * array[n] << ' ';
| ^~~~
rightangtri.cpp:9:15: error: invalid operands of types ‘const char [2]’ and ‘int’ to binary ‘operator*’
9 | cout << "*" * array[n] << ' ';
| ~~~ ^ ~~~~~~~~
| | |
| | int
| const char [2]