| Problem | rightangtri |
|---|---|
| User | elsatanyixin |
| Submission Time | 2026-02-28 09:31:04 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:9:26: error: expected ‘;’ before ‘)’ token
9 | for (int i=0; i < n, i++){
| ^
| ;
rightangtri.cpp:11:13: error: expected ‘;’ before ‘}’ token
11 | cout<< "*"
| ^
| ;
12 | }
| ~
rightangtri.cpp:13:7: error: no match for ‘operator/’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘int’)
13 | cout /n
| ~~~~ ^~
| | |
| | int
| std::ostream {aka std::basic_ostream<char>}
rightangtri.cpp:13:7: note: candidate: ‘operator/(int, int)’ <built-in>
13 | cout /n
| ~~~~~^~
rightangtri.cpp:13:7: note: no known conversion for argument 1 from ‘std::ostream’ {aka ‘std::basic_ostream<char>’} to ‘int’
In file included from /usr/include/c++/9/ccomplex: