| Problem | rightangtri |
|---|---|
| User | Biologyhater123 |
| Submission Time | 2025-02-16 21:08:22 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cc1plus: error: ‘::main’ must return ‘int’
rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:14:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
14 | cin >>n;
| ^~~
| std::cin
In file included from rightangtri.cpp:9:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
rightangtri.cpp:16:5: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
16 | cout<< (i+1) * "*"; //jho touches kids
| ^~~~
| std::cout
In file included from rightangtri.cpp:9:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
rightangtri.cpp:16:18: error: invalid operands of types ‘long long int’ and ‘const char [2]’ to binary ‘operator*’
16 |