| Problem | rightangtri |
|---|---|
| User | aliceting2021 |
| Submission Time | 2026-02-28 09:43:07 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:12:2: error: expected primary-expression before ‘int’
12 | int j;
| ^~~
rightangtri.cpp:9:30: error: expected ‘)’ before ‘int’
9 | for (int i = 0; i < n; i++)(
| ~^
| )
......
12 | int j;
| ~~~
rightangtri.cpp:13:3: error: expected primary-expression before ‘)’ token
13 | )
| ^
rightangtri.cpp:14:18: error: ‘j’ was not declared in this scope
14 | for (int j = 0; j < i+1; j++)(
| ^
rightangtri.cpp:16:2: error: expected primary-expression before ‘)’ token
16 | )
| ^
rightangtri.cpp:19:11: error: overloaded function with no contextual type information
19 | count += 1;
| ^
rightangtri.cpp:20:2: error: expected primary-expression before ‘)’ token
20 | )